Liking cljdoc? Tell your friends :D

fogus.maps


assoc-iffclj

(assoc-iff m k v)
(assoc-iff m k v & kvs)

Like assoc, but only associates key-value pairs when the value is non-nil.

Like assoc, but only associates key-value pairs when the value is non-nil.
raw docstring

deep-mergeclj

(deep-merge & vals)

Recursively merges nested maps. When merging values at the same key:

  • If both values are maps, recursively merges them
  • Otherwise, takes the rightmost value (consistent with merge)
Recursively merges nested maps. When merging values at the same key:

- If both values are maps, recursively merges them
- Otherwise, takes the rightmost value (consistent with merge)
raw docstring

keys-applyclj

(keys-apply m ks f)

manip-keysclj

(manip-keys m ks f)

manip-mapclj

(manip-map m ks f)

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close