category-extras-0.44.1: Various modules and constructs inspired by category theory.

Portabilitynon-portable (functional-dependencies)
Stabilityexperimental
MaintainerEdward Kmett <ekmett@gmail.com>

Control.Functor.Pointed.Composition

Description

 

Documentation

newtype PointedCompF f g a Source

Constructors

PointedCompF (CompF f g a) 

newtype PostCompF mw f a Source

Constructors

PostCompF (PointedCompF mw f a) 

Instances

Composition PostCompF 
(Monad m, Pointed f, PostFold m f) => Monad (PostCompF m f) 
(Functor mw, Functor f) => Functor (PostCompF mw f) 
(Full mw, Full f) => Full (PostCompF mw f) 
(ExpFunctor mw, ExpFunctor f) => ExpFunctor (PostCompF mw f) 
(Copointed mw, Copointed f) => Copointed (PostCompF mw f) 
(Pointed mw, Pointed f) => Pointed (PostCompF mw f) 
(Comonad w, Copointed f, PostUnfold w f) => Comonad (PostCompF w f) 

newtype PreCompF f mw a Source

Constructors

PreCompF (PointedCompF f mw a) 

Instances

Composition PreCompF 
(Pointed f, Monad m, PreFold f m) => Monad (PreCompF f m) 
(Functor f, Functor mw) => Functor (PreCompF f mw) 
(Full f, Full mw) => Full (PreCompF f mw) 
(ExpFunctor f, ExpFunctor mw) => ExpFunctor (PreCompF f mw) 
(Copointed f, Copointed mw) => Copointed (PreCompF f mw) 
(Pointed f, Pointed mw) => Pointed (PreCompF f mw) 
(Copointed f, Comonad w, PreUnfold f w) => Comonad (PreCompF f w) 

newtype DistCompF f g a Source

Constructors

DistCompF (PointedCompF f g a) 

Instances