org.specs2.data
A Fold[T] can be used to pass over a Process[Task, T].
It has:
This covers many of the needs of iterating over a Scalaz stream and is composable because there is a Monoid instance for Folds
create a Process1 returning the state values
create a Process1 returning the folded elements and the state values
A Fold[T] can be used to pass over a Process[Task, T].
It has:
This covers many of the needs of iterating over a Scalaz stream and is composable because there is a Monoid instance for Folds