On Feb 3, 10:44 pm, Jason Wolfe <jawo...@berkeley.edu> wrote:
> This just bit me a second time, since one of my revised set functions
> uses "contains?" and thus doesn't work on java.util.Sets (or even
> the .keySets of Clojure maps).
>
> user> (contains? (.keySet {:a :b}) :a)
> false
>
> It seems that all that's required to make "contains?" work on general
> Sets is to replace "IPersistentSet" with "Set" on lines 648 and 649 of
> RT.java.  I can make a patch if desired.
>

Patch welcome - must handle both overloads of RT.get() - thanks!

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