I can pass clojure.main/repl
a function that will be used to eval
input (thanks to the :eval
keyword). But how can I do this with nrepl
? I read a bit about handlers but it quickly becomes hard and abstract to follow.
Also, since I mainly launch it with lein repl
, is there a way to specify my eval
in the project.clj
file? :repl-options
doesn't seem to accept the :eval
keyword.