On Jun 14, 11:06 am, Sean Devlin <[email protected]> wrote:
> ;Bad
> user=> (into {} (partition 2 [:a 1 :b 2 :c 3 :d 4]))
This can, of course, be
(into {} (map vec (partition 2 [:a 1 :b 2 :c 3 :d 4])))
I think the requirement is that the argument to APersistentMap.conj
should implement Associative, which vectors do but seqs do not
(because they don't do random access).
-S
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
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