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

[ bsd3, control, library ] [ Propose Tags ] [ Report a vulnerability ]

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.

Flags

Manual Flags

NameDescriptionDefault
streamly9

require streamly >= 0.9

Disabled
Automatic Flags
NameDescriptionDefault
dump-core

Dump HTML for the core generated by GHC during compilation

Disabled

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

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1.0.0, 0.1.0.1, 0.1.0.3, 0.1.0.4, 0.1.0.5, 0.1.0.7, 0.1.1.0, 0.1.1.1, 0.1.2 (info)
Change log ChangeLog.md
Dependencies base (>=4.12.0 && <5), containers (>=0.5.0 && <0.7), discrimination (>=0.3 && <0.6), dump-core, foldl (>=1.4.5 && <1.5), hashable (>=1.2.4 && <1.5), hashtables (>=1.2.0.0 && <1.5), 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.8 && <0.9), streamly-bytestring (>=0.1.0 && <0.2), text (>=1.2.3 && <2.1), unordered-containers (>=0.2.10 && <0.3), vector (>=0.12.0 && <0.14) [details]
Tested with ghc ==8.6.4 || ==8.6.2 || ==8.8.3 || ==8.10.2
License BSD-3-Clause
Copyright 2019 Adam Conner-Sax
Author Adam Conner-Sax
Maintainer adam_conner_sax@yahoo.com
Category Control
Bug tracker https://github.com/adamConnerSax/map-reduce-folds/issues
Source repo head: git clone https://github.com/adamConnerSax/map-reduce-folds
Uploaded by adamCS at 2023-05-02T13:18:32Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 2173 total (7 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2023-05-02 [all 1 reports]