Package1.4.18Control
foldl
Composable, streaming, and efficient left folds
- Version1.4.18
- CategoryControl
- LicenceBSD-3-Clause
- AuthorGabriella Gonzalez
- MaintainerGenuineGabriella@gmail.com
- Pinned byhackage foldl 1.4.18
- Sourcehackage.haskell.org/package/foldl-1.4.18
Modules
- Control.FoldlThis module provides efficient and streaming left folds that you can combine
- Control.Foldl.ByteStringFolds for byte streams
- Control.Foldl.NonEmptyThis module provides a Fold1 type that is a "non-empty" analog of the
- Control.Foldl.TextFolds for text streams
- Control.ScanlThis module provides efficient and streaming left map-with-accumulator that
Description
This library provides strict left folds that stream in constant memory, and you can combine folds using Applicative style to derive new folds. Derived folds still traverse the container just once and are often as efficient as hand-written folds.
Depends on
14 packages- base-4.23.0.0with GHC
- bytestring-0.12.2.0with GHC
- comonad-5.0.10in this set
- containers-0.8with GHC
- contravariant-1.5.6in this set
- hashable-1.5.1.0in this set
- primitive-0.9.1.0in this set
- profunctors-5.6.3in this set
- random-1.3.1in this set
- semigroupoids-6.0.2in this set
- text-2.1.4with GHC
- transformers-0.6.3.0with GHC
- unordered-containers-0.2.21in this set
- vector-0.13.2.0in this set