Try key and val: user=> (doc key) ------------------------- clojure.core/key ([e]) Returns the key of the map entry. nil user=> (doc val) ------------------------- clojure.core/val ([e]) Returns the value in the map entry. nil user=>
On Friday, September 25, 2015 at 3:32:51 PM UTC-5, Fenton Travers 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.