ClojureDocs

导航

名称空间

merge-with

clojure.core

自 1.0 起可用 (源代码)
  • (merge-with 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).