Marcus Lindner <marcus.goldritter.lind...@gmail.com> writes:

> But the problem is, that this is not mentioned in the documentation of
> contains? I found so far :(.

Well, it kind of is: Only associative data structures (maps, sets,
records, vectors) have keys, lists and seqs (such as
APersistentMap$KeySeq) don't.  I guess the confusion comes that people
are used that myMap.keySet() returns a set (which is an associative data
structure) whereas (keys my-map) returns a seq, not a set.

Bye,
Tassilo

-- 
-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to