how can I access *e
without direct access to REPL?
(prn *e)
Chlorine doesn't sets the "magic variables" like *1
, *e
, and so on, so you probably will not be able to access then
printing to repl is good enough for me 🙂
doesn't the socket repl itself usually provide *e
and friends?
Yes, it does. The problem is that there's more to the history: Chlorine connects to a Socket REPL, upgrades it to UNREPL, sends two commands before sending the evaluate, one of then that changes the currrent namespace
There's no way to be sure that *e
will be kept on scope after all these steps, so there's no effort to support it 🙂
ah, thanks for the explanation