merge-with says it returns a map, but if you give it no arguments it
gives you back nil instead of the empty map.

In my code, I had something like:

((apply merge-with concat maps) key)

and got NPE rather than "nil" when "maps" was empty.

It looks like "merge" has the same issue too.

Cheers,
Jason
--~--~---------~--~----~------------~-------~--~----~
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