From cb36169ef50edd8cbf06c38147fab08be90fb571 Mon Sep 17 00:00:00 2001 From: vindarel Date: Fri, 4 Jun 2021 13:22:18 +0200 Subject: [PATCH] re-export repl-utilities in ciel/repl only ("summary" is too common) --- docs/libraries.md | 4 ++-- repl.lisp | 12 ++++++++++++ src/ciel.lisp | 10 ---------- 3 files changed, 14 insertions(+), 12 deletions(-) diff --git a/docs/libraries.md b/docs/libraries.md index 738e688..3d67019 100644 --- a/docs/libraries.md +++ b/docs/libraries.md @@ -528,12 +528,12 @@ You can ask 5am to open the interactive debugger on an error: ### Discoverability of documentation (repl-utilities' readme, summary,…) -We use `readme` and `summary` from [repl-utilities](http://quickdocs.org/repl-utilities/). +We make [repl-utilities](http://quickdocs.org/repl-utilities/) available, which provides `readme` and `summary`: Learn more with: ``` example -(readme repl-utilities) +(repl-utilities:readme repl-utilities) ``` ### printv diff --git a/repl.lisp b/repl.lisp index 2c860eb..025c6c9 100755 --- a/repl.lisp +++ b/repl.lisp @@ -17,6 +17,18 @@ (in-package :sbcli) +;; repl-utilities: nice to have, but don't clutter the CIEL package by exporting them. +;; For instance, "summary" is too common a word to be exported. +(cl-reexport:reexport-from :repl-utilities + :include + '(:repl-utilities + :readme + ;; :doc ;; conflicts with our little %doc helper. + :summary + :package-apropos + :trace-package + :print-hash)) + (defvar *repl-version* "0.1.5") ;XXX: print CIEL version. (defvar *banner* " diff --git a/src/ciel.lisp b/src/ciel.lisp index 74cad93..1150da0 100644 --- a/src/ciel.lisp +++ b/src/ciel.lisp @@ -97,16 +97,6 @@ We currently only try this with serapeum. See *deps/serapeum/sequences-hashtable ;; :doseq* ;; position value sequence )) -(cl-reexport:reexport-from :repl-utilities - :include - '(:repl-utilities - :readme - :doc - :summary - :package-apropos - :trace-package - :print-hash)) - ;; alexandria/sequences/lists (defparameter *deps/alexandria/sequences-lists* '(:iota