Transducer to catch errors, capture additional info, and cache them as DM errors in a side channel that will be returned at the end of the reduction.
Transducer to catch errors, capture additional info, and cache them as DM errors in a side channel that will be returned at the end of the reduction.
(catch-errors-> coll & args)Helper function to separate out results from errors in a collection. Collection is first.
Helper function to separate out results from errors in a collection. Collection is first.
(catch-errors->> & args-and-coll)Helper function to separate out results from errors in a collection. Collection is last.
Helper function to separate out results from errors in a collection. Collection is last.
(transduce-> coll xform initial & args)Helper function to separate out results from errors after applying a transducer. Collection is first.
Helper function to separate out results from errors after applying a transducer. Collection is first.
(transduce->> xform initial & args-and-coll)Helper function to separate out results from errors after applying a transducer. Collection is last.
Helper function to separate out results from errors after applying a transducer. Collection is last.
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 |