Copyright  (c) Ross Paterson 2010 

License  BSDstyle (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  

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 a b) Source  
Ord a => Ord (Constant a b) Source  
Read a => Read (Constant a b) Source  
Show a => Show (Constant a b) Source 