Goldritter <marcus.goldritter.lind...@googlemail.com> writes: > Ah ok. So I need to transform a vector and/or a list into a set first.
No, not really. All clojure collections implement java.util.Collection, so you can always use (.contains your-coll something) to check if your-coll contains something. However, keep in mind that this does a linear search for lists, sequences or vectors. So if your algorithm relies on containment checks, you might be better off using sets directly. 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