Liking cljdoc? Tell your friends :D

mate.core


comp->clj/smacro

(comp-> & args)

Same as comp but with the arguments in reverse order.

Same as `comp` but with the arguments in reverse order.
sourceraw docstring

group-byclj/s

(group-by kf coll)
(group-by kf vf coll)
(group-by kf vf rf coll)
(group-by kf vf rf init coll)

Same as clojure.core/group-by, but with some handy new arities which apply custom map & reduce operations to the elements grouped together under the same key.

Same as clojure.core/group-by, but with some handy new arities which apply
custom map & reduce operations to the elements grouped together under the same key.
sourceraw docstring

impliesclj/smacro

(implies x y)

(implies x y) expands to (or (not x) y) while being more descriptive of the logical intent.

`(implies x y)` expands to `(or (not x) y)` while being more
descriptive of the logical intent.
sourceraw docstring

index-byclj/s

(index-by kf coll)
(index-by kf vf coll)

Returns a hashmap made of [key value] pairs from items in the collection coll where the keys are (kf item) and the values are (vf item). vf defaults to the identify function.

Returns a hashmap made of `[key value]` pairs from items in the collection `coll`
where the keys are `(kf item)` and the values are `(vf item)`.
`vf` defaults to the identify function.
sourceraw docstring

seq-indexedclj/s

(seq-indexed coll)

Returns an indexed sequence from the collection coll.

Returns an indexed sequence from the collection `coll`.
sourceraw docstring

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

× close