On Jan 12, 11:08 am, Gabi <[email protected]> wrote: > What's the idiomatic Clojure way for extracting values/keys from a > binding form vector [key1 val1 key2 val2..] ?
I suppose that depends on what you want, but: (apply hash-map keyvals) to make a map or (map first (partition 2 keyvals)) & (map second (partition 2 keyvals)) -- Jarkko
-- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en
