On Feb 3, 2009, at 10:44 PM, Jason Wolfe wrote:

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.

Along those lines, would it be a good idea for the object returned by clojure.core/keys to implement java.util.Set and/or clojure.lang.IPersistentSet?

--Steve

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to