(apply-values map f & ks)
http://blog.jayfields.com/2011/01/clojure-select-keys-select-values-and.html
(contains+? coll val)
Version of clojure.core/contains? that works with nested maps
Version of clojure.core/contains? that works with nested maps
(find# pred)
Usage: (some (find# even?) [1 2 3 4]) =>2
Usage: (some (find# even?) [1 2 3 4]) =>2
(seek pred coll)
(seek pred coll not-found)
Returns first item from coll for which (pred item) returns true. Returns nil if no such item is present, or the not-found value if supplied.
Usage: (seek even? [1 2 3 4]) => 2
Returns first item from coll for which (pred item) returns true. Returns nil if no such item is present, or the not-found value if supplied. Usage: (seek even? [1 2 3 4]) => 2
(select-values map ks)
http://blog.jayfields.com/2011/01/clojure-select-keys-select-values-and.html
(slice n coll)
Divide coll into n approximately equal slices.
Divide coll into n approximately equal slices.
(some# pred coll)
Usage: (some# even? [1 2 3 4]) => 2
Usage: (some# even? [1 2 3 4]) => 2
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close