-
-
Notifications
You must be signed in to change notification settings - Fork 22
Open

Description
This code will cause a stackoverflow error:
(def a (atom nil)) (def b (atom a)) (reset! a b)
a
Possible solutions are:
-
print-method
multimethod can be used to fix this for clojure repl. Maybe use that if it's available (https://clojuredocs.org/clojure.core/get-method) -
Don't print atoms target value in defstream IRef. It makes sense because atoms are used to opt out of the value semantics of clojure, and making recursive structures is a common use case.
Metadata
Metadata
Assignees
Labels
No labels