category-extras-0.44.1: Various modules and constructs inspired by category theory.Source codeContentsIndex
Control.Functor.Contravariant
Portabilitynon-portable (class-associated types)
Stabilityexperimental
MaintainerEdward Kmett <ekmett@gmail.com>
Description
Documentation
class ContravariantFunctor f whereSource
Methods
contramap :: (a -> b) -> f b -> f aSource
show/hide Instances
newtype ContraF a b Source
Constructors
ContraF
runContraF :: b -> a
show/hide Instances
Produced by Haddock version 2.1.0