(deep-merge a b)
Merges map b into map a recursively. If both values for a certain key are maps, they are deeply merged themselves. If not, the value from map b is used unless it's nil.
Merges map b into map a recursively. If both values for a certain key are maps, they are deeply merged themselves. If not, the value from map b is used unless it's nil.
(generic-zipper x)
Walks vectors, lists, maps, and maps' keys and values individually. Take care not to replace a keypair with a single value (will throw an exception).
Walks vectors, lists, maps, and maps' keys and values individually. Take care not to replace a keypair with a single value (will throw an exception).
(match-non-match pred x1 x2)
Given a predicate and 2 values, it returns a vector with the matching value first, and the non-matching value second. Returns nil if none of the values match the predicate.
Given a predicate and 2 values, it returns a vector with the matching value first, and the non-matching value second. Returns nil if none of the values match the predicate.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close