Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Documentation
duplicate :: Fold a b -> Fold a (Fold a b) Source #
Allows to continue feeding a fold even after passing it to a function that closes it
premap :: (a -> b) -> Fold b r -> Fold a r Source #
Applies a function to each input before processing
prefilter :: (a -> Bool) -> Fold a r -> Fold a r Source #
Consider only inputs that match a predicate