Copyright | (c) Ross Paterson 2010 |
---|---|
License | BSD-style (see the file LICENSE) |
Maintainer | R.Paterson@city.ac.uk |
Stability | experimental |
Portability | portable |
Safe Haskell | Safe |
Language | Haskell98 |
The constant functor.
- newtype Constant a b = Constant {
- getConstant :: a
Documentation
Constant functor.
Constant | |
|
Bifunctor (Constant *) Source | |
Show2 (Constant *) Source | |
Read2 (Constant *) Source | |
Ord2 (Constant *) Source | |
Eq2 (Constant *) Source | |
Functor (Constant * a) Source | |
Monoid a => Applicative (Constant * a) Source | |
Foldable (Constant * a) Source | |
Traversable (Constant * a) Source | |
Show a => Show1 (Constant * a) Source | |
Read a => Read1 (Constant * a) Source | |
Ord a => Ord1 (Constant * a) Source | |
Eq a => Eq1 (Constant * a) Source | |
Eq a => Eq (Constant k a b) Source | |
Ord a => Ord (Constant k a b) Source | |
Read a => Read (Constant k a b) Source | |
Show a => Show (Constant k a b) Source | |
Monoid a => Monoid (Constant k a b) Source |