(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
(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
(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.
(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.
(wget v i)
Get index i from v, wrapping negative indices if necessary.
Get index i from v, wrapping negative indices if necessary.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close