|
|
|
Description |
A monad transformer for the [partial] consumption of Lists.
The interface closely mimics iterators in languages such as Python.
It is often nicer to avoid using Consumer and to use
folds and higher-order functions instead.
|
|
Synopsis |
|
|
|
Documentation |
|
|
A monad tranformer for consuming Lists.
| Instances | |
|
|
|
Consume a ListT
|
|
|
Consume/get the next value
|
|
|
Return an instance of the underlying monad that will use the given ConsumerT to consume the remaining values.
After this action there are no more items to consume (they belong to the given ConsumerT now)
|
|
Produced by Haddock version 2.4.2 |