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

Portabilitynon-portable (class-associated types)
Stabilityexperimental
MaintainerEdward Kmett <ekmett@gmail.com>

Control.Functor.Composition

Description

Generalized functor composeosition.

Documentation

newtype CompF f g a Source

Constructors

CompF 

Fields

runCompF :: f (g a)
 

Instances

Composition CompF 
(Functor f, Functor g) => Functor (CompF f g) 
(Full f, Full g) => Full (CompF f g) 
(ExpFunctor f, ExpFunctor g) => ExpFunctor (CompF f g) 

associateComp :: (Functor f, Composition c) => c (c f g) h a -> c f (c g h) aSource

coassociateComp :: (Functor f, Composition c) => c f (c g h) a -> c (c f g) h aSource

type :.: f g a = CompF f g aSource