On Mon, 23 Mar 2009 at 07:57, Christophe Grand wrote:

> I prefer the into version which allows to write a mapmap that preserves the
> map type (eg sorted or hash):
> 
> (defn mapmap [f m]
>   (into (empty m) (for [[k v] m] [k (f v)])))

Agreed. If it were in contrib, this would make most sense.

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