Reported by chouser, Jan 28, 2009
Describe the feature/change.
Currently when you print an IRef, the contents are not printed. With
the attached patch:
user=> (agent 99)
#<Agent@1dee400: 99>
user=> (atom #{:bomb})
#<Atom@e3849c: #{:bomb}>
user=> (ref "erence")
#<Ref@44cbbe: "erence">
Note that they're no more readable in the (read) sense. Also note
that Vars are unchanged:
user=> #'nil?
#'clojure.core/nil?
Was this discussed on the group? If so, please provide a link to the
discussion:
http:
print-iref.patch
694 bytes Download
Comment 1 by richhickey, Feb 09, 2009
patch applied - svn 1254 - thanks!
Status: Fixed
Converted from http://www.assembla.com/spaces/clojure/tickets/60
Attachments:
print-iref.patch - https://www.assembla.com/spaces/clojure/documents/bprrp8w3ur3O2PeJe5afGb/download/bprrp8w3ur3O2PeJe5afGb