Liking cljdoc? Tell your friends :D

quark.lang.collection


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

conj-array-mapclj/s

(conj-array-map amap kv)
source

cons-array-mapclj/s

(cons-array-map amap kv)
source

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

filtertclj/s

source

find-firstclj/s

(find-first pred coll)
source

in-range?clj/s

(in-range? content from to)
source

index-byclj/s

(index-by f coll)
source

indicesclj/s

(indices f coll)
source

into!clj/s

(into! to from)

Transient version of clojure.core/into

Transient version of clojure.core/into
sourceraw docstring

iopmapclj/s

(iopmap f coll)
source

keep-at-leastclj/s

(keep-at-least i seq)
source

keeptclj/s

source

leafclj/s

(leaf m)
source

likeclj/s

(like type-coll coll)
source

map-keysclj/s

(map-keys f m)
source

map-valsclj/s

(map-vals f m)
source

maptclj/s

source

max-byclj/s

(max-by k coll)

Returns the x for which (k x), not necessarily a number, is greatest, according to compare.

Returns the x for which (k x), *not necessarily a number*, is greatest, according to `compare`.
sourceraw docstring

min-byclj/s

(min-by k coll)

Returns the x for which (k x), not necessarily a number, is greatest, according to compare.

Returns the x for which (k x), *not necessarily a number*, is greatest, according to `compare`.
sourceraw docstring

namespacedclj/s

(namespaced m ns)
source

namespaced-inclj/s

(namespaced-in x path ns)
source

namespaced-keysclj/s

(namespaced-keys e ns)

Set the namespace of all map keys (non recursive).

Set the namespace of all map keys (non recursive).
sourceraw docstring

namespaced-keys-inclj/s

(namespaced-keys-in x path ns)
source

pull-keyclj/s

(pull-key x key)

Pull some key

Pull some key
sourceraw docstring

pull-namespaced-keyclj/s

(pull-namespaced-key x key ns)

Pull some key, updating the namespaces of it

Pull some key, updating the namespaces of it
sourceraw docstring

removetclj/s

source

safe-getclj/s

(safe-get coll key & args)
source

seekclj/s

(seek pred s)
source

single-result!clj/s

(single-result! coll)
source

unnamespacedclj/s

(unnamespaced m)
source

update!clj/s

(update! m k f x)

Transient version of clojure.core/update

Transient version of clojure.core/update
sourceraw docstring

update-in-ifclj/s

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

vec-group-byclj/s

(vec-group-by f input)
source

vec-removeclj/s

(vec-remove v pos)
source

vecs->mapclj/s

(vecs->map vecs)
source

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

× close