For a project I'm working on, I wanted some variants of merge-with and deep-merge-with that would also provide information about the keys where collisions were occurring. I have (based on minimal testing) a working implementation, but it feels like there should be a simpler way to do this - I ended up copying and minimally modifying the source for merge-with and deep-merge-with, but I would be interested in any improvements people might suggest.
In particular, I feel like what I'm doing with the "collect" function is possibly a bit obtuse, but nothing more obvious came readily to mind. https://gist.github.com/1398181 -- 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