Skip to content

clojure.core/merge-with

View this page on ClojureDocs

Type: function Added: Clojure 1.0 Examples: 11 Runnable: 8
([f & maps])

Returns a map that consists of the rest of the maps conj-ed onto the first. If a key occurs in more than one map, the mapping(s) from the latter (left-to-right) will be combined with the mapping in the result by calling (f val-in-result val-in-latter).

Examples

by nipra on
by fogus on
by fogus on
by jaley on . May have evaluation errors.
by Dimagog on
by dmos62 on
by mlanza on
by timgilbert on . May have evaluation errors.
by dijonkitchen on
by themustafabasit on
by joshuamzm on . May have evaluation errors.

See also


Content from the matching ClojureDocs page, with authors credited on each contribution.