Try destructuring: clanhr.absences-api.controllers.routes=> (map (fn [[k v]] {k v}) {:a 1 :b 2}) => ({:a 1} {:b 2})
On Fri, Sep 25, 2015 at 9:32 PM, Fenton Travers <fenton.trav...@gmail.com> wrote: > Are there functions that would operate on an map_entry, to give the key > and the value? I image looping over a map and with each entry being able > to get the key of that map_entry and the value of that map_entry. I know > 'keys' and 'vals' but that operates on a collection versus a map_entry > tuple. > > -- > 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. > -- Pedro Santos Home - http://psantos.zi-yu.com -- 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.