base-compat-0.9.1: A compatibility layer for base

Safe HaskellSafe
LanguageHaskell98

Data.Functor.Const.Compat

Documentation

newtype Const a b :: * -> * -> *

Constructors

Const 

Fields

getConst :: a
 

Instances

Functor (Const m) 
Monoid m => Applicative (Const m) 
Foldable (Const m) 
Traversable (Const m) 
Generic1 (Const a) 
Eq a => Eq (Const a b) 
Ord a => Ord (Const a b) 
Read a => Read (Const a b) 
Show a => Show (Const a b) 
Generic (Const a b) 
Monoid a => Monoid (Const a b) 
type Rep1 (Const a) = D1 D1Const (C1 C1_0Const (S1 S1_0_0Const (Rec0 a))) 
type Rep (Const a b) = D1 D1Const (C1 C1_0Const (S1 S1_0_0Const (Rec0 a)))