foldM package:foldl
Apply a strict monadic left
FoldM to a lazy bytestring
Apply a strict monadic left
FoldM to lazy text
Like
Fold, but monadic.
A '
FoldM m a b' processes elements of type
a and results
in a monadic value of type
m b.
FoldM step initial extract
Convert a "
foldMap" to a
Fold