Greetings,
I'm confused by the failure of 2 record instances to compare as equal, only
when generated by a protocol method and having extra fields.
The code below shows this, with uninformative REPL responses snipped. The
attached file has similar code as a clojure.test.
Would somebody please
What Clojure version are you on?
--
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
Here's the bug:
user (defrecord a [])
user.a
user (defrecord b [])
user.b
user (.__extmap (map-b (map-a {:a 1})))
#user.a{:a 1}
--
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
Yeah that looks bad.
--
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 this group,
I added a patch+tests here http://dev.clojure.org/jira/browse/CLJ-1388
Alex Miller writes:
Yeah that looks bad.
--
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
I'm on 1.5.1
I have a workaround:
- instead of
- (map-Foo this)
- use
- (map-Foo (into {} this))
On Tuesday, March 18, 2014 5:47:46 PM UTC-7, Alex Miller wrote:
What Clojure version are you on?
--
You received this message because you are subscribed to the Google