Portability | portable |
---|---|
Stability | experimental |
Maintainer | ross@soi.city.ac.uk |
Safe Haskell | Safe-Inferred |
Data.Functor.Constant
Description
The constant functor.
- newtype Constant a b = Constant {
- getConstant :: a
transformers-0.3.0.0: Concrete functor and monad transformers
Portability | portable |
---|---|
Stability | experimental |
Maintainer | ross@soi.city.ac.uk |
Safe Haskell | Safe-Inferred |
Data.Functor.Constant
Description
The constant functor.