Portability | portable |
---|---|
Stability | experimental |
Maintainer | ross@soi.city.ac.uk |
Safe Haskell | Safe-Inferred |
The constant functor.
- newtype Constant a b = Constant {
- getConstant :: a
Documentation
Constant functor.
Constant | |
|
Functor (Constant a) | |
Monoid a => Applicative (Constant a) | |
Foldable (Constant a) | |
Traversable (Constant a) |