Iter::fold

Fold a iterator with initial value and a given function.

Type

fold :: Iter a -> b -> (b -> a -> b) -> b