Liking cljdoc? Tell your friends :D

auxilium.core


dissoc-in

(dissoc-in m [k & ks :as keys])

Dissociates an entry from a nested associative structure returning a new nested structure. keys is a sequence of keys. Any empty maps that result will not be present in the new structure.

Dissociates an entry from a nested associative structure returning a new
nested structure. keys is a sequence of keys. Any empty maps that result
will not be present in the new structure.
raw docstring

first-match

(first-match k v coll)

Takes a collection of maps and returns the first one that contains k = v

Takes a collection of maps and returns the first one
that contains k = v
raw docstring

first-value

(first-value value-k map-k map-v coll)

Takes a collection of maps, retrieves the map that contains map-k = map-v and returns the value associated with value-k from that map or 0 if nil

Takes a collection of maps, retrieves the map that contains map-k = map-v
and returns the value associated with value-k from that map or 0 if nil
raw docstring

json-config-value

(json-config-value env-var-name key)

merge-nested

(merge-nested & maps)

re-group-by

(re-group-by f grouped-data)

sequences->maps

(sequences->maps keys values)

Takes a sequence of keys and a sequence of sequences representing values. Returns a sequence of hash-maps mapping keys->values. One use case is converting a sequence of csv rows into a map

Takes a sequence of keys and a sequence of sequences representing values. Returns a sequence of
hash-maps mapping keys->values. One use case is converting a sequence of csv rows into a map
raw docstring

slurp-from-classpath

(slurp-from-classpath path)

Slurps a file from the classpath.

Slurps a file from the classpath.
raw docstring

slurp-from-env

(slurp-from-env env-var-name)

spaced->kebab

(spaced->kebab value)

sum-of-value

(sum-of-value value-k coll)

uuid

(uuid)

value-frequencies

(value-frequencies k m)

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

× close