Liking cljdoc? Tell your friends :D

lang-utils.core


apply-valuesclj/s

(apply-values map f & ks)
http://blog.jayfields.com/2011/01/clojure-select-keys-select-values-and.html
sourceraw docstring

contains+?clj/s

(contains+? coll val)

Version of clojure.core/contains? that works with nested maps

Version of clojure.core/contains? that works with nested maps
sourceraw docstring

contains?-anyclj/s

(contains?-any m xs)
source

find#clj/s

(find# pred)

Usage: (some (find# even?) [1 2 3 4]) =>2

Usage: (some (find# even?) [1 2 3 4]) =>2
sourceraw docstring

find-anyclj/s

(find-any m xs)
source

find-nestedclj/s

(find-nested m k)
source

seekclj/s

(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
sourceraw docstring

select-valuesclj/s

(select-values map ks)
http://blog.jayfields.com/2011/01/clojure-select-keys-select-values-and.html
sourceraw docstring

sliceclj/s

(slice n coll)

Divide coll into n approximately equal slices.

Divide coll into n approximately equal slices.
sourceraw docstring

some#clj/s

(some# pred coll)

Usage: (some# even? [1 2 3 4]) => 2

Usage: (some# even? [1 2 3 4]) => 2
sourceraw docstring

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

× close