Liking cljdoc? Tell your friends :D

quark.collection.map


assoc-ifclj/s

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

Assoc[iate] only truthy values.

Assoc[iate] only truthy values.
sourceraw docstring

assoc-in-ifclj/s

(assoc-in-if m ks v)
source

assoc-in-someclj/s

(assoc-in-some m ks v)
source

assoc-someclj/s

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

Assoc[iate] if the value is not nil.

Assoc[iate] if the value is not nil.
sourceraw docstring

deep-mergeclj/s≠

clj
(deep-merge values)
(deep-merge strategy & values)
cljs
(deep-merge & values)

Recursively merges maps. If the first parameter is a keyword it tells the strategy to use when merging non-map collections. Options are

  • :replace, the default, the last value is used
  • :into, if the value in every map is a collection they are concatenated using into. Thus the type of (first) value is maintained.
Recursively merges maps.
If the first parameter is a keyword it tells the strategy to
use when merging non-map collections. Options are
- :replace, the default, the last value is used
- :into, if the value in every map is a collection they are concatenated
  using into. Thus the type of (first) value is maintained.
sourceraw docstring

depth-map-keysclj/s

(depth-map-keys func m)
source

dissoc-ifclj/s

(dissoc-if m k pred)
source

dissoc-inclj/s

(dissoc-in m key-vec)
source

dissoc-in-ifclj/s

(dissoc-in-if m ks pred)
source

filter-keysclj/s

(filter-keys fun coll)
source

filter-valsclj/s

(filter-vals fun coll)
source

find-firstclj/s

(find-first pred coll)
source

leafclj/s

(leaf m)
source

map-keysclj/s

(map-keys f m)
source

map-valsclj/s

(map-vals f m)
source

pull-keyclj/s

(pull-key x key)
source

safe-getclj/s

(safe-get coll key & args)
source

update-in-ifclj/s

(update-in-if m ks f & args)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close