Portability  portable 

Stability  experimental 
Maintainer  ross@soi.city.ac.uk 
Safe Haskell  SafeInferred 
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)  
Show a => Show1 (Constant a)  
Read a => Read1 (Constant a)  
Ord a => Ord1 (Constant a)  
Eq a => Eq1 (Constant a)  
Eq a => Eq (Constant a b)  
Ord a => Ord (Constant a b)  
Read a => Read (Constant a b)  
Show a => Show (Constant a b) 