Liking cljdoc? Tell your friends :D

had-utils.collections


count-whenclj

(count-when coll)
(count-when coll f)

Count the number of elements in coll where f returns true. If not supplied use identity as f.

Count the number of elements in coll where f returns true. If not supplied use identity as f.
sourceraw docstring

map-kvclj

(map-kv m val-fn)
(map-kv m key-fn val-fn)

Construct a new map from an existing one. Each of val-fn and (optional - default (fn [k _] k)) key-fn are a function of two arguments, the key and value. Note that to make the usage more natural the optional key-fn argument goes in the second place when used.

Construct a new map from an existing one.
Each of val-fn and (optional - default (fn [k _] k)) key-fn are
a function of two arguments, the key and value.
Note that to make the usage more natural the optional key-fn
argument goes in the second place when used.
sourceraw docstring

map-mapclj

source

transposeclj

(transpose seqs)
source

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

× close