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. If the current behavior is as-desired, I would like to understand why. Is it that some java.util.Sets have linear lookup time or something like that? Thanks, Jason --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---