Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- run :: ShortcutNonemptyFold a b -> NonEmpty a -> b
Documentation
run :: ShortcutNonemptyFold a b -> NonEmpty a -> b Source #
Fold a nonempty listlike container to a single summary result, forcing only enough input to satisfy the short-cutting fold