How to stop execution of function in Clojure without exiting REPL?

Is it possible in a Clojure REPL to stop the execution of a function without terminating the REPL session? How can I do this?

I'm using lein repl in bash, if it matters. I'm using Leiningen 1.7.1


Have you tried just Ctrl-C ? It should work in your case.

Update. I've downgraded to Leiningen version 1.7.1. And it really quits repl by Ctrl-C. You should upgrade lein as Bozhidar Batsov said.


For emacs users who come by this question later:

In Emacs + nrepl + lein2: hit ctrl c ctrl b to get back to your repl

链接地址: http://www.djcxy.com/p/69150.html

上一篇: 如何自定义EKEventEditViewController

下一篇: 如何在不退出REPL的情况下停止Clojure中的函数执行?