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.


Automatic Flags

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


Versions [RSS],,,,,,, (info)
Change log
Dependencies base (>=4.12.0 && <4.17), containers (>=0.5.0 && <0.7), discrimination (>=0.3 && <0.5), dump-core, foldl (>=1.4.5 && <1.5), hashable (>=1.2.4 && <1.5), hashtables (>= && <, parallel (>=3.2.2 && <3.3), profunctors (>=5.3 && <5.7), split (>=0.2.3 && <0.3), streaming (>=0.2.2 && <0.3), streamly (>=0.7.0 && <0.9), 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 2021-09-29T16:57:20Z
Distributions NixOS:
Downloads 1757 total (9 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2021-09-29 [all 1 reports]