category-extras-0.53.3: Various modules and constructs inspired by category theory

Portabilitynon-portable (rank-2 polymorphism)
Stabilityexperimental
MaintainerEdward Kmett <ekmett@gmail.com>

Control.Morphism.Postpro

Description

See Maarten Fokkinga''s PhD Dissertation for postpro. g_postpro is an obvious generalization.

Synopsis

Documentation

postpro :: Functor f => Coalgebra f c -> (f :~> f) -> c -> FixF fSource

g_postpro :: (Functor f, Monad m) => Dist m f -> GCoalgebra f m a -> (f :~> f) -> a -> FixF fSource

Generalized postpromorphisms

bipostpro :: Bifunctor f Hask Hask Hask => Coalgebra (f a) c -> (f a :~> f a) -> c -> Fix f aSource

g_bipostpro :: (Bifunctor f Hask Hask Hask, Monad m) => Dist m (f a) -> GCoalgebra (f a) m c -> (f a :~> f a) -> c -> Fix f aSource