*Is order guaranteed?* For any map m,
(= m (zipmap (keys m) (vals m))) ... is guaranteed. But, for two maps m1 and m2, (= m1 m2) ... does *not* imply (= (seq m1) (seq m2)) *Which version to prefer?* It's worth looking at what the Clojure Cookbook does <https://github.com/clojure-cookbook/clojure-cookbook/blob/master/02_composite-data/2-21_applying-functions-to.asciidoc>. It uses both patterns, only expanding for into map in the second one. But none of their functions quite matches your case, which I think it would express using zipmap. -- 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/d/optout.