If you want parallelism, you'll want to use fold [0] or async's pipeline
[1].
Personally, I've found Rich's talk the best way to help me understand how
transducers were added to the language. [2]
You may also want to look at cgrand's xforms library [3]. For example, it
allows you to express frequencies as -
(into {} (x/by-key identity x/count) coll)
Hope this helps.
[0] https://clojuredocs.org/clojure.core.reducers/fold
[1] https://clojuredocs.org/clojure.core.async/pipeline
[2] https://www.youtube.com/watch?v=6mTbuzafcII
[3] https://github.com/cgrand/xforms
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.