Refer 'clojure.repl/dir in user ns

This commit is contained in:
Michiel Borkent 2020-01-12 14:01:06 +01:00
parent a3b3984f05
commit 1268792b47
2 changed files with 3 additions and 2 deletions

2
sci

@ -1 +1 @@
Subproject commit 358c428ecf6049b061b43725e8a7c62c7a7050e5
Subproject commit 381a158f72c1efbb8e48229bc67c7a109dffe7c0

View file

@ -29,7 +29,8 @@
"REPL.")
(sio/println "Use :repl/quit or :repl/exit to quit the REPL.")
(sio/println "Clojure rocks, Bash reaches.")
(sio/println)))
(sio/println)
(eval-form sci-ctx '(require '[clojure.repl :refer [dir]]))))
:read (or read
(fn [_request-prompt request-exit]
;; (prn "PEEK" @sci/in (r/peek-char @sci/in))