How can I restore an object if I don't understand it?

I am using Clojure at the REPL. Suppose I am doing something like a string (read-line) that returns a string object, but I am not doing anything like this (def x (read-line)) that would store that string object anywhere.

Is the object dangling around somewhere where I can restore it, and if so how?

+3


source to share


1 answer


The last three results are bound to *1

, *2

and *3

, and the last exception is to *e

, for example.



> (read-line)
> hello world

> *1
"hello world"

      

+5


source