folds-0.3: Beautiful Folding
Data.Fold.L'
Synopsis
data L' a b Source
A strict left fold / strict Moore machine
Constructors
Instances
efficient prefix, leaky postfix
prefix
postfix
We can convert a lazy fold to itself
We can convert from a strict left folding to a right or monoidal fold
unfoldL' :: (s -> (b, a -> s)) -> s -> L' a bSource
Construct a strict Moore machine from a state valuation and transition function