On Tue, Feb 22, 2011 at 7:36 PM, Daniel Bell <dchristianb...@gmail.com> wrote:
> I don't know if it's specified in the documentation anywhere

It doesn't seem to be.

> but
> (= map-I-made-up
>  (zipmap
>    (keys map-I-made-up)
>    (vals map-I-made-up)))
>
> returns true.

However, it is clearly intentional behavior nonetheless. In
particular, I can think of no other reason why "keys" doesn't return a
set than to avoid potential reordering; so (zipmap (keys m) (map
do-something-to (vals m))) and things like that will work properly.

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

Reply via email to