tags:

views:

108

answers:

1

In the python repl, getting the result of the previously input expression is easy:

>>> 1+2
3
>>> _
3
>>> 

Is there a way to do this in the clojure repl?

+9  A: 
*1

Should do it! Similarly, you have access to *2 and *3 as well.

Isaac Hodes
sweet! thanks. and curse stackoverflow for making me wait to accept
Ellery Newcomer
And `*e` for the last exception thrown.
Alex Taggart