Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- data ShortcutFold a b = forall x y.ShortcutFold {
- initial :: Vitality x y
- step :: y -> a -> Vitality x y
- extractDead :: x -> b
- extractLive :: y -> b
- data Will
- data Vitality a b
Documentation
data ShortcutFold a b Source #
Processes inputs of type a
, has the ability to halt midway
through the stream, and results in a value of type b
forall x y. ShortcutFold | |
|