Is it possible in Clojure REPL to terminate a function without ending a REPL session? How can i do this?
I use lein repl in bash if that matters. I am using Leiningen 1.7.1
lein repl
Have you tried just Ctrl-C ? It should work in your case.
Ctrl-C
Update. I upgraded to Leiningen version 1.7.1. And it really stops replacing Ctrl-C. You must update the lane, as Bozhidar Batov said.
For emacs users who later ask this question:
In Emacs + nrepl + lein2: press ctrl c ctrl b to return to your replica