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