Cont package:streamly
Continuation style utilities.
Given a continuation based transformation from a to
b and a continuation based transformation from [b]
to c, make continuation based transformation from
[a] to c.
Pre-release
We can create higher order folds using
foldContinue. We can
fold a number of streams to a given fold efficiently with full stream
fusion. For example, to fold a list of streams on the same sum fold:
concatFold = Prelude.foldl Stream.foldContinue Fold.sum
fold f = Fold.extractM . Stream.foldContinue f
Internal