category-extras-0.44.1: Various modules and constructs inspired by category theory.Source codeContentsIndex
Control.Functor.Algebra
Portabilitynon-portable (rank-2 polymorphism)
Stabilityexperimental
MaintainerEdward Kmett <ekmett@gmail.com>
Description
Documentation
type Alg f a = f a -> aSource
type CoAlg f a = a -> f aSource
type AlgW f w a = f (w a) -> aSource
type CoAlgM f m a = a -> f (m a)Source
liftAlg :: (Functor f, Comonad w) => Alg f a -> AlgW f w aSource
liftCoAlg :: (Functor f, Monad m) => CoAlg f a -> CoAlgM f m aSource
Produced by Haddock version 2.1.0