|
Data.Generator | Portability | portable | Stability | experimental | Maintainer | ekmett@gmail.com |
|
|
|
|
|
Description |
A Generator c is a possibly-specialized container, which contains values of
type Elem c, and which knows how to efficiently apply a Reducer to extract
an answer.
Since a Generator is not polymorphic in its contents, it is more specialized
than Data.Foldable.Foldable, and a Reducer may supply efficient left-to-right
and right-to-left reduction strategies that a Generator may avail itself of.
|
|
Synopsis |
|
|
|
Documentation |
|
module Data.Monoid.Reducer |
|
Generators
|
|
|
minimal definition mapReduce or mapTo
| | Associated Types | | | Methods | | | Instances | |
|
|
|
|
|
|
|
|
Generator Transformers
|
|
|
a Generator transformer that asks only for the keys of an indexed container
| Constructors | |
|
|
|
a Generator transformer that asks only for the values contained in an indexed container
| Constructors | |
|
|
|
a Generator transformer that treats Word8 as Char
This lets you use a ByteString as a Char source without going through a Monoid transformer like UTF8
| Constructors | | Instances | |
|
|
Combinators
|
|
|
Apply a Reducer directly to the elements of a Generator
|
|
|
|
|
|
Produced by Haddock version 2.3.0 |