Unresponsive Clojure REPL after exception

Posted by Hendekagon on Stack Overflow See other posts from Stack Overflow or by Hendekagon
Published on 2011-11-13T01:48:29Z Indexed on 2011/11/13 1:50 UTC
Read the original article Hit count: 289

Filed under:
|
|

If I start a REPL and then do something that throws an exception like (use 'non-existent-thing) ** then after that the REPL ceases to evaluate anything I enter. Is there a special key I can press to make it turn round, face me, uncross its arms and listen once more ? Or must I ctrl-d, restart, type everything up to where I was and get it right this time ?

** which results in: Exception in thread "Thread-1" java.lang.RuntimeException: java.io.FileNotFoundException: Could not locate non_existent_thing__init.class or non_existent_thing.clj on classpath: (NO_SOURCE_FILE:0)

© Stack Overflow or respective owner

Related posts about exception

Related posts about clojure