On Mar 8, 6:17 am, David Powell <djpow...@djpowell.net> wrote:
> > Identity is tested first in equality, if identical, equal, full stop.
>
> That's what I'd assumed (it's what the JDK collections do), but
> looking at the code, to say, APersistentVectory, I can't see where the
> identity test is done?  Am I looking in the wrong place?
>

Clojure code routes through clojure.lang.Util.equiv()/equals() which
do the check, but each collection should as well, for use outside of
Clojure.

Issue/patch welcome.

Rich

--~--~---------~--~----~------------~-------~--~----~
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
To unsubscribe from this group, send email to 
clojure+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to