Liking cljdoc? Tell your friends :D

blossom.utils


doto-assertclj/s

(doto-assert x f)
(doto-assert x f message)

Apply f to x and call clojure.core/assert on the result. Return x. Useful as an assertion method within -> threads

Apply f to x and call `clojure.core/assert` on the result. Return x.
Useful as an assertion method within -> threads
sourceraw docstring

filter-and-find-min-for-keyclj/s

(filter-and-find-min-for-key key s)

Remove nil elements from sequence and find an element for which (get element key) is minimum

Remove nil elements from sequence and find an element for
which (get element key) is minimum
sourceraw docstring

log-addclj/s

(log-add ret-log id content)
source

positionsclj/s

(positions pred coll)

Returns a lazy sequence containing the positions at which pred is true for items in coll.

Returns a lazy sequence containing the positions at which pred
is true for items in coll.
sourceraw docstring

split-and-reverseclj/s

(split-and-reverse coll n)

Split a sequence at index n and reverse the front and back If n is negative split at index (count coll) + n and reverse front and back.

Split a sequence at index n and reverse the front and back
If n is negative split at index (count coll) + n and reverse front and back.
sourceraw docstring

wgetclj/s

(wget v i)

Get index i from v, wrapping negative indices if necessary.

Get index i from v, wrapping negative indices if necessary.
sourceraw docstring

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

× close