map-reduce-folds: foldl wrappers for map-reduce

[ bsd3, control, library ] [ Propose Tags ]

map-reduce-folds simplifies the building of folds to do map-reduce style computations on collections. It breaks the map/reduce into an unpacking step where items may be filtered, transformed or "melted" (made into several new items), an assign step where the unpacked items are assigned keys, a grouping step where the assigned items are grouped by key and then a reduce step which is applied to each grouped subset. Tools are provided to simplify building the individual steps and then "engines" are provided for combining them into efficient folds returning an assortment of containers. The various pieces are replicated for effectful (monadic) steps producing effectful (monadic) folds.

Versions [faq],,,,
Change log
Dependencies base (>=4.12.0 && <4.13), containers (>=0.5.0 && <0.7), discrimination (>=0.3 && <0.5), dump-core, foldl (>=1.4.5 && <1.5), hashable (>=1.2.7 && <1.4), hashtables (>= && <, parallel (>=3.2.2 && <3.3), profunctors (>=5.3 && <5.6), split (>=0.2.3 && <0.3), streaming (>=0.2.2 && <0.3), streamly (>=0.6.1 && <0.8), text (>=1.2.3 && <1.3), unordered-containers (>=0.2.10 && <0.3), vector (>=0.12.0 && <0.13) [details]
License BSD-3-Clause
Copyright 2019 Adam Conner-Sax
Author Adam Conner-Sax
Category Control
Bug tracker
Source repo head: git clone
Uploaded by adamCS at 2019-12-14T15:48:55Z
Distributions NixOS:
Downloads 1010 total (8 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2019-12-14 [all 1 reports]


[Index] [Quick Jump]



Dump HTML for the core generated by GHC during compilation


Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Maintainer's Corner

For package maintainers and hackage trustees