Module
Matryoshka.Coalgebra
- Package
- purescript-matryoshka
- Repository
- purescript-contrib/purescript-matryoshka
#GCoalgebra Source
type GCoalgebra :: (Type -> Type) -> (Type -> Type) -> Type -> Type
type GCoalgebra n f a = a -> f (n a)
#GCoalgebraM Source
type GCoalgebraM :: (Type -> Type) -> (Type -> Type) -> (Type -> Type) -> Type -> Type
type GCoalgebraM n m f a = a -> m (f (n a))
#CoalgebraM Source
type CoalgebraM :: (Type -> Type) -> (Type -> Type) -> Type -> Type
type CoalgebraM m f a = a -> m (f a)
#ElgotCoalgebra Source
type ElgotCoalgebra :: (Type -> Type) -> (Type -> Type) -> Type -> Type
type ElgotCoalgebra e f a = a -> e (f a)