On Wednesday, 26 November 2014, Tassilo Horn wrote:
> Gary Verhaegen > writes:
>
> Hi Gary,
>
> > You should probably read the documentation about tagged literals to
> > understand this better:
> >
> > http://clojure.org/reader#The%20Reader--Tagged%20Literals
>
> #user.P{:x 1, :y 2} is no tagged
Gary Verhaegen writes:
Hi Gary,
> You should probably read the documentation about tagged literals to
> understand this better:
>
> http://clojure.org/reader#The%20Reader--Tagged%20Literals
#user.P{:x 1, :y 2} is no tagged literal. At least after defining
(defrecord P [x y]), P records are pri
You should probably read the documentation about tagged literals to
understand this better:
http://clojure.org/reader#The%20Reader--Tagged%20Literals
On Wednesday, 26 November 2014, Tassilo Horn wrote:
> Vladimir Bokov > writes:
>
> > I really like that (pr some-hash-map) dumps structure which
Vladimir Bokov writes:
> I really like that (pr some-hash-map) dumps structure which can be
> recognized by clojure reader like (def same-hash-map '..paste..here)
>
> Could it be achieved with defrecords? Currently (pr some-record) produced
> non-recognizable by clojure reader at all. (Btw. why
On Wednesday, November 26, 2014 3:30:10 AM UTC-5, Vladimir Bokov wrote:
>
> I really like that (pr some-hash-map) dumps structure which can be
> recognized by clojure reader like (def same-hash-map '..paste..here)
>
> Could it be achieved with defrecords? Currently (pr some-record) produced
> non
I really like that (pr some-hash-map) dumps structure which can be
recognized by clojure reader like (def same-hash-map '..paste..here)
Could it be achieved with defrecords? Currently (pr some-record) produced
non-recognizable by clojure reader at all. (Btw. why so?)
Could we do better? (e.g. u