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
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
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.
--~--~-~--~~