Generally collection functions like conj, assoc, nth, get take the collection as the first arg and return a collection of the same type.
The majority of the functions in the core lib are sequence functions working at a higher abstraction level - they take a seqable thing, call seq on it, and return a sequence. Sequence functions like map, reduce, filter, take, take-nth etc take the sequence as the last arg. You'll see -> thread macro is better for collection calls and ->> thread macro is better for sequence fns. Alex -- -- 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.