Re: Newbie question: converting a sequence of map entries into a map

2008-10-28 Thread samppi
Excellent, that's exactly what I need. Thanks. On Oct 28, 12:09 pm, Matt Moriarity <[EMAIL PROTECTED]> wrote: > 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

Re: Newbie question: converting a sequence of map entries into a map

2008-10-28 Thread Matt Moriarity
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

Newbie question: converting a sequence of map entries into a map

2008-10-28 Thread samppi
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. --~--~-~--~~