liquidhaskell-0.8.0.2: Liquid Types for Haskell

Safe HaskellNone
LanguageHaskell98

Language.Haskell.Liquid.Types.Variance

Documentation

data Variance Source #

Instances

Data Variance Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Variance -> c Variance #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Variance #

toConstr :: Variance -> Constr #

dataTypeOf :: Variance -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Variance) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Variance) #

gmapT :: (forall b. Data b => b -> b) -> Variance -> Variance #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Variance -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Variance -> r #

gmapQ :: (forall d. Data d => d -> u) -> Variance -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Variance -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Variance -> m Variance #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Variance -> m Variance #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Variance -> m Variance #

Show Variance Source # 
Generic Variance Source # 

Associated Types

type Rep Variance :: * -> * #

Methods

from :: Variance -> Rep Variance x #

to :: Rep Variance x -> Variance #

Binary Variance Source # 

Methods

put :: Variance -> Put #

get :: Get Variance #

putList :: [Variance] -> Put #

NFData Variance Source # 

Methods

rnf :: Variance -> () #

PPrint Variance Source # 

Methods

pprintTidy :: Tidy -> Variance -> Doc #

pprintPrec :: Int -> Tidy -> Variance -> Doc #

type Rep Variance Source # 
type Rep Variance = D1 (MetaData "Variance" "Language.Haskell.Liquid.Types.Variance" "liquidhaskell-0.8.0.2-4zWDXa3VLIUKANK5k7Jte1" False) ((:+:) ((:+:) (C1 (MetaCons "Invariant" PrefixI False) U1) (C1 (MetaCons "Bivariant" PrefixI False) U1)) ((:+:) (C1 (MetaCons "Contravariant" PrefixI False) U1) (C1 (MetaCons "Covariant" PrefixI False) U1)))