(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.
(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
(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
(json-config-value env-var-name key)
(merge-nested & maps)
(re-group-by f grouped-data)
(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
(slurp-from-classpath path)
Slurps a file from the classpath.
Slurps a file from the classpath.
(slurp-from-env env-var-name)
(spaced->kebab value)
(sum-of-value value-k coll)
(uuid)
(value-frequencies k m)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close