On Jun 24, 2013, at 11:14 , Sean Corfield <seancorfi...@gmail.com> wrote:

> On Mon, Jun 24, 2013 at 8:49 AM, John Gabriele <jmg3...@gmail.com> wrote:
>> Why does `into` fail when the 2-element collections are lists and not
>> vectors? :
> 
> Because the implementation special cases vectors :)
> 
> It's the one place where a two element vector is treated like a
> Map$Entry so that you are not forced to somehow create Map$Entry
> instances for the key/value pairs.

Huh. I had assumed this would work with any 2-element collection, like 
destructuring. Why not? Performance reasons?

-- 
-- 
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/groups/opt_out.


Reply via email to