Data.TypeRig.Riggable
class (Productable f, Summable f) => Riggable f where Source #
Composability via a rig of types.
Minimal complete definition
Nothing
Methods
rOptional :: forall a. f a -> f (Maybe a) Source #
rList1 :: f a -> f (NonEmpty a) Source #
rList :: f a -> f [a] Source #
Defined in Data.TypeRig.Riggable
rOptional :: Endo a -> Endo (Maybe a) Source #
rList1 :: Endo a -> Endo (NonEmpty a) Source #
rList :: Endo a -> Endo [a] Source #
rOptional :: ReadPrec a -> ReadPrec (Maybe a) Source #
rList1 :: ReadPrec a -> ReadPrec (NonEmpty a) Source #
rList :: ReadPrec a -> ReadPrec [a] Source #
rOptional :: Kleisli m a a0 -> Kleisli m a (Maybe a0) Source #
rList1 :: Kleisli m a a0 -> Kleisli m a (NonEmpty a0) Source #
rList :: Kleisli m a a0 -> Kleisli m a [a0] Source #