I'd like turn an array of maps into a map of maps, extracting a unique id from each map as the key.
(into {} (map #([(:id %) %]) map-array) was my first attempt, but I'm not sure the syntax would work anyway. However, the first question (and obvious error cause) is how to repeat MAP-ARRAY twice inside the lambda expression without writing a new FN. Or am I going down the wrong path here? -- -- 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.