On Sun, Mar 8, 2009 at 9:28 PM, Rich Hickey <richhic...@gmail.com> wrote:
>
> 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.

I've created an issue, just so we don't lose track of this, but I'm
not writing a patch at the moment.  This is probably some nice
low-hanging fruit for someone who has sent in their CA and is
interested in starting to get patches into Clojure itself:

http://code.google.com/p/clojure/issues/detail?id=92

--Chouser

--~--~---------~--~----~------------~-------~--~----~
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