what you're looking for i believe is into

> (into {} (list [:a 2] [:b 3]))
{:b 3, :a 2}

On Oct 28, 3:05 pm, samppi <[EMAIL PROTECTED]> wrote:
> I'm new at Clojure, but I'm really liking it, though. I'm having
> trouble with using map on a map, and turning the resulting sequence of
> map entries into a new map.
>
> In other words, how can you turn this:
>
> ([:a 2] [:b 3]) ...into... {:a 2, :b 3}?
>
> Thanks in advance.
--~--~---------~--~----~------------~-------~--~----~
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
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to