contravariant-1.0: Contravariant functors

Portabilityportable
Stabilityexperimental
Maintainerekmett@gmail.com
Safe HaskellSafe-Inferred

Data.Functor.Contravariant.Compose

Description

Composition of contravariant functors.

Synopsis

Documentation

newtype Compose f g a Source

Composition of two contravariant functors

Constructors

Compose 

Fields

getCompose :: f (g a)
 

Instances

newtype ComposeFC f g a Source

Composition of covariant and contravariant functors

Constructors

ComposeFC 

Fields

getComposeFC :: f (g a)
 

Instances

newtype ComposeCF f g a Source

Composition of contravariant and covariant functors

Constructors

ComposeCF 

Fields

getComposeCF :: f (g a)
 

Instances