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

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

Control.Morphism.Meta

Description

Generalized metamorphisms

Documentation

meta :: (Functor f, Functor g) => CoAlg f b -> (a -> b) -> Alg g a -> Fix g -> Fix fSource

g_meta :: (Monad m, Functor f, Comonad w, Functor g) => Dist m f -> Dist g w -> CoAlgM f m b -> (a -> b) -> AlgW g w a -> Fix g -> Fix fSource