Support of membership testing is pretty much the defining characteristic of sets, transient or not.
Transient sets already support membership testing in the form of (my-set item). If they support the IFn interface for membership testing, it's hard for me to imagine that it would be much more difficult to support the same behavior for whatever interface makes contains? work properly. On Fri, Sep 16, 2011 at 12:42 PM, David Nolen <dnolen.li...@gmail.com>wrote: > On Fri, Sep 16, 2011 at 3:26 PM, Herwig Hochleitner < > hhochleit...@gmail.com> wrote: > >> Here is the (a?) ticket for this issue: >> http://dev.clojure.org/jira/browse/CLJ-700 >> I too have thought, it was fixed by now. >> > > The other thing to consider is that - is this a contract that is desirable > to support? Transients are only about performance - lowering the time it > takes to construct a collection. Perhaps there are faster implementations > which cannot fulfill the contract of supporting contains? > > David > > -- > 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 > Note that posts from new members are moderated - please be patient with > your first post. > 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 > -- 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 Note that posts from new members are moderated - please be patient with your first post. 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