On Tue, Nov 17, 2009 at 5:06 PM, Sean Devlin <francoisdev...@gmail.com>wrote:
> Heh. Learn something new every day. > > This also works > > (into {} (System/getProperties)) And I'd much prefer it. Passing a mutable Java map around to functions that expect a map but assume it will never change out from under them creates a grave risk that the map WILL be changed out from under them at some point. I wonder if perhaps (into {} a-java-map) should work but no other substitutions of a potentially-mutable map for a Clojure map. -- 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