Add deep-merge and deep-merge-with

Description

When dealing with nested map structures, one often wants to merge two maps recursively.

The deep-merge-with function was originally written by Chris Houser for clojure.contrib.map-utils but was not maintained after clojure-contrib was split into separate modules.

deep-merge and deep-merge-with are widely copied, usually with the same implementation, in utility libraries. For example:

Environment

None

Attachments

1
  • 18 Jul 2014, 04:58 PM

Activity

Show:

Rich Hickey July 18, 2014 at 5:42 PM

Vague semantics and docs strings

Declined

Details

Assignee

Reporter

Approval

Triaged

Patch

Code and Test

Priority

Created July 18, 2014 at 4:54 PM
Updated July 18, 2014 at 5:42 PM
Resolved July 18, 2014 at 5:42 PM