On Fri, Sep 16, 2011 at 11:20 AM, David Nolen <dnolen.li...@gmail.com>wrote:

>
> Examining the Java sources it looks like the transient collections do not
> support contains? by design.
>
> David
>
>
>
Unfortunately, another design decision in Clojure is that contains? returns
spurious results, rather than an error, for things that do not support
contains?.  As a consequence, when you try to use contains? with transient
sets (a perfectly reasonable thing to assume would work), you get zero
feedback that this is unsupported -- your program just returns incorrect
results.

--Mark

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

Reply via email to