transformers-0.3.0.0: Concrete functor and monad transformers

Portabilityportable
Stabilityexperimental
Maintainerross@soi.city.ac.uk
Safe HaskellSafe-Inferred

Data.Functor.Constant

Description

The constant functor.

Synopsis

Documentation

newtype Constant a b Source

Constant functor.

Constructors

Constant 

Fields

getConstant :: a
 

Instances

Functor (Constant a) 
Monoid a => Applicative (Constant a) 
Foldable (Constant a) 
Traversable (Constant a)