hmmm, i wish there were a way (or that it was the default) to tell the
repl to not continue to loop for ever over things it has already
"printed" out when i eval something that is a cyclic thing. anybody
have a patch, or thought on this?
thanks!
On Mon, Jan 18, 2010 at 4:38 PM, Mark Hamstra <markh...@gmail.com> wrote:
> See *print-length* and *print-level* in the core API.
Or if you want unlimited depth, but want to avoid printing the
value of any reference object more than once, you can try this
little thing I hacked together a while ago:
http://paste.lisp.org/display/83647
Note that it has to keep a reference to every IDeref object it
sees while it's printing, in order to detect duplicates.
--Chouser
http://joyofclojure.com/
thanks, all.