From 892cc1f917d5b2cae1ae57abd60e7a7d2c57f8cd Mon Sep 17 00:00:00 2001 From: vindarel Date: Sun, 18 Apr 2021 12:03:04 +0200 Subject: [PATCH] export trivia's match and guard to use them in CIEL package (not only ciel-user) --- src/ciel.lisp | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/src/ciel.lisp b/src/ciel.lisp index 31399ab..eccb080 100644 --- a/src/ciel.lisp +++ b/src/ciel.lisp @@ -11,6 +11,17 @@ We currently only try this with serapeum. See *deps/serapeum/sequences-hashtables* and how the docs/serapeum.md page is generated with `generate-dependencies-page-reference'.") +;; Pattern matching. +(cl-reexport:reexport-from :trivia + :include + '(:match + :guard)) + +;; "let" with more destructuring. +(cl-reexport:reexport-from :metabang-bind + :include + '(:bind)) + (cl-reexport:reexport-from :parse-float) (cl-reexport:reexport-from :parse-number :include @@ -241,11 +252,6 @@ We currently only try this with serapeum. See *deps/serapeum/sequences-hashtable (defpackage ciel-user (:use :cl :ciel) - (:import-from :metabang-bind - :bind) - (:import-from :trivia - :match - :guard) (:local-nicknames (:csv :cl-csv) (:http :dexador)))