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