On Sat, Feb 8, 2014 at 12:06 AM, Sean Corfield <s...@corfield.org> wrote:
> But you're misunderstanding what map does: it converts its collection > arguments to _sequences_ and then it processes those sequences. Map > doesn't operate on sets, or vectors, or maps, only on sequences. > Your assertion that I "am misunderstanding something" is wrong. One cannot convert amorphic set into linear sequence without assuming certain order. And as with every assumption, it always comes with some less or more pragmatic but arbitrary decision which might change over time and ruin peoples programs. I would expect Clojure to throw "IllegalArgumentException Don't know how to create ISeq from: clojure.lang.PersistentHashSet" or document it well in map somewhere. "Perfection is the enemy of the good." > Now judging by your sig, it all does not surprise me LOL -- 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.