contravariant-1.5.5: Contravariant functors
Copyright (c) Edward Kmett 2010
License BSD3
Maintainer ekmett@gmail.com
Stability experimental
Portability portable
Safe Haskell Safe
Language Haskell2010

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

Instances

Instances details
( Contravariant f, Contravariant g) => Functor ( Compose f g) Source #
Instance details

Defined in Data.Functor.Contravariant.Compose

Methods

fmap :: (a -> b) -> Compose f g a -> Compose f g b Source #

(<$) :: a -> Compose f g b -> Compose f g a Source #

newtype ComposeCF f g a Source #

Composition of contravariant and covariant functors

Constructors

ComposeCF

Fields