dynamic var | since v0.0-927 | clojure.core/*1 | Edit |
Holds the result of the last REPL expression.
(+ 1 2 3 4)
;;=> 10
*1
;;=> 10
(inc *1)
;;=> 11
Note that a standalone evaluation of *1
, *2
, *3
, or *e
is not a part of
remembered history:
:first
;;=> :first
:second
;;=> :second
:third
;;=> :third
*3
;;=> :first
*2
;;=> :second
*1
;;=> :third
bound in a repl thread to the most recent value printed
(def
^{:dynamic true}
*1)