Fold.Pure.Type
data Fold a b Source #
Processes inputs of type a and results in a value of type b
a
b
Constructors
Fields
Defined in Fold.Pure.Type
Methods
pure :: a0 -> Fold a a0 #
(<*>) :: Fold a (a0 -> b) -> Fold a a0 -> Fold a b #
liftA2 :: (a0 -> b -> c) -> Fold a a0 -> Fold a b -> Fold a c #
(*>) :: Fold a a0 -> Fold a b -> Fold a b #
(<*) :: Fold a a0 -> Fold a b -> Fold a a0 #
fmap :: (a0 -> b) -> Fold a a0 -> Fold a b #
(<$) :: a0 -> Fold a b -> Fold a a0 #
mempty :: Fold a b #
mappend :: Fold a b -> Fold a b -> Fold a b #
mconcat :: [Fold a b] -> Fold a b #
(<>) :: Fold a b -> Fold a b -> Fold a b #
sconcat :: NonEmpty (Fold a b) -> Fold a b #
stimes :: Integral b0 => b0 -> Fold a b -> Fold a b #