*1

dynamic varsince v0.0-927 clojure.core/*1Edit

Holds the result of the last REPL expression.


Examples:

(+ 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

See Also:


Source docstring:
bound in a repl thread to the most recent value printed
Source code @ clojurescript:src/main/cljs/cljs/core.cljs
(def
  ^{:dynamic true}
  *1)