> On Jan 18, 4:22 pm, Raoul Duke <rao...@gmail.com> wrote:
>> hi,
>>
>> 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?

On Mon, Jan 18, 2010 at 4:38 PM, Mark Hamstra <markhams...@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/
-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to