A monad transformer for the [partial] consumption of List
s.
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.
Documentation
A monad tranformer for consuming List
s.