Re: infinite loop print out of cyclic structure at repl

2022-01-01 Thread dieter.v...@gmail.com
I also notice that user> (((methods print-method) clojure.lang.Atom) (atom 5) *out*) #atom[5 0x403721b8]nil user> (atom 5) # and I could not reproduce the printing of '#' with any of (keys (methods print-method))... On Saturday, January 1, 2022 at 10:25:28 AM UTC+1 dieter.v...@gmail.com wrote:

Re: infinite loop print out of cyclic structure at repl

2022-01-01 Thread dieter.v...@gmail.com
Hello, I'm trying the proposed solution ('want unlimited depth, but want to avoid printing the value of any reference object more than once'). But running into issues: - clojure.core/print-sequential appears to be private. Solved with (let [printing-fn #'clojure.core/print-sequential]... - pr-on

Re: infinite loop print out of cyclic structure at repl

2013-10-01 Thread Chouser
Bah, mutable state! To be cursed in all its forms! Here is the same content as was at that paste.lisp.org link. I haven't tested it with recent versions of Clojure or anything: https://gist.github.com/Chouser/6783292 --Chouser On Tue, Oct 1, 2013 at 12:44 PM, Patrik Sundberg wrote: > This past

Re: infinite loop print out of cyclic structure at repl

2013-10-01 Thread Patrik Sundberg
This paste seems gone - anyone has it available? I seem to get bitten by this kind of thing in emacs using nrepl and it pretty printing something and it gets into an infinite loop locking up my emacs session completely. Running the same from command line i can see same behavior (seems related t

Re: infinite loop print out of cyclic structure at repl

2010-01-18 Thread Raoul Duke
> Mark > Chouser thanks, all. -- 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 t

Re: infinite loop print out of cyclic structure at repl

2010-01-18 Thread Chouser
> On Jan 18, 4:22 pm, Raoul Duke 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

Re: infinite loop print out of cyclic structure at repl

2010-01-18 Thread Mark Hamstra
See *print-length* and *print-level* in the core API. On Jan 18, 4:22 pm, Raoul Duke 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 t

infinite loop print out of cyclic structure at repl

2010-01-18 Thread Raoul Duke
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? thanks! -- You received this message because you are s