Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- demotivate :: ShortcutFold a b -> ShortcutFold a b
- duplicate :: ShortcutFold a b -> ShortcutFold a (ShortcutFold a b)
Documentation
demotivate :: ShortcutFold a b -> ShortcutFold a b Source #
Causes a shortcut fold to stop once it becomes ambivalent
duplicate :: ShortcutFold a b -> ShortcutFold a (ShortcutFold a b) Source #
Allows to continue feeding a fold even after passing it to a function that closes it