Create a new iteratee that uses its result type as a state that is passed to its folder.
Create a new iteratee that uses its result type as a state that is passed to its folder.
The resulting iteratee ignores empty inputs and results in A only after an EOF. In combination with the map-method this iteratee is sufficient for most purposes.