(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.
(re-find-indexed m)(re-find-indexed re s)(re-find-indexed re s)Same as re-find, but returns a pair [index match] when there is a match.
Same as re-find, but returns a pair `[index match]` when there is a match.
(re-groups-indexed m)Same as re-groups, but returns pair(s) [index group] instead of group(s).
Same as re-groups, but returns pair(s) `[index group]` instead of group(s).
(re-with-flags re flags)Returns a new RegEx with additional flags.
Returns a new RegEx with additional flags.
(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 builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |