(comp-> & args)
Same as comp
but with the arguments in reverse order.
Same as `comp` but with the arguments in reverse order.
(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.
(if-> x test then-form else-form)
If branching threading macro.
If branching threading macro.
(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.
(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.
(seq-indexed coll)
Returns an indexed sequence from the collection coll
.
Returns an indexed sequence from the collection `coll`.
(ungroup-keys m)
From a hashmap where the keys are grouped using sequential collections (lists, vectors ...) or using sets, this function returns a hashmap where those keys are ungrouped.
From a hashmap where the keys are grouped using sequential collections (lists, vectors ...) or using sets, this function returns a hashmap where those keys are ungrouped.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close