transformers-0.2.1.0: Concrete functor and monad transformers
Source code
Contents
Index
Data.Functor.Constant
Portability
portable
Stability
experimental
Maintainer
libraries@haskell.org
Description
The constant functor.
Synopsis
newtype
Constant
a b =
Constant
{
getConstant
:: a
}
Documentation
newtype
Constant
a b
Source
Constant functor.
Constructors
Constant
getConstant
:: a
Instances
Functor
(
Constant
a)
Traversable
(
Constant
a)
Foldable
(
Constant
a)
Monoid
a =>
Applicative
(
Constant
a)
Produced by
Haddock
version 2.4.2