I have been nrepl based for a long time and that didn't play nicely with creating "sub repls" with clojure.main/repl
. I'm using socket repls now and really enjoying that sub repls are usable again for me. I'm mostly just doing a simple call
(clojure.main/repl
:prompt (fn [] (printf "%s=> " (peek (str/split (str *ns*) #"\."))))
:read server/repl-read)
What else are people doing with sub repls? Creating history files of evaluation? Throwing forms into a db? Really interested to know.