contravariant-1.3.2: Contravariant functors

Copyright(c) Edward Kmett 2010
LicenseBSD3
Maintainerekmett@gmail.com
Stabilityexperimental
Portabilityportable
Safe HaskellSafe-Inferred
LanguageHaskell98

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)
 

newtype ComposeCF f g a Source

Composition of contravariant and covariant functors

Constructors

ComposeCF 

Fields

getComposeCF :: f (g a)