Liking cljdoc? Tell your friends :D

auxilium.core


dissoc-inclj

(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-matchclj

(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-valueclj

(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-valueclj

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

merge-nestedclj

(merge-nested & maps)

re-group-byclj

(re-group-by f grouped-data)

sequences->mapsclj

(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-classpathclj

(slurp-from-classpath path)

Slurps a file from the classpath.

Slurps a file from the classpath.
raw docstring

slurp-from-envclj

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

spaced->kebabclj

(spaced->kebab value)

sum-of-valueclj

(sum-of-value value-k coll)

uuidclj

(uuid)

value-frequenciesclj

(value-frequencies k m)

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

× close