liquidhaskell-0.8.0.2: Liquid Types for Haskell

Safe HaskellNone
LanguageHaskell98

Language.Haskell.Liquid.Types.Bounds

Documentation

data Bound t e Source #

Constructors

Bound 

Fields

Instances

Bifunctor Bound Source # 

Methods

bimap :: (a -> b) -> (c -> d) -> Bound a c -> Bound b d #

first :: (a -> b) -> Bound a c -> Bound b c #

second :: (b -> c) -> Bound a b -> Bound a c #

Eq (Bound t e) Source # 

Methods

(==) :: Bound t e -> Bound t e -> Bool #

(/=) :: Bound t e -> Bound t e -> Bool #

(Data e, Data t) => Data (Bound t e) Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Bound t e -> c (Bound t e) #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c (Bound t e) #

toConstr :: Bound t e -> Constr #

dataTypeOf :: Bound t e -> DataType #

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

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

gmapT :: (forall b. Data b => b -> b) -> Bound t e -> Bound t e #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Bound t e -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Bound t e -> r #

gmapQ :: (forall d. Data d => d -> u) -> Bound t e -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Bound t e -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Bound t e -> m (Bound t e) #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Bound t e -> m (Bound t e) #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Bound t e -> m (Bound t e) #

(PPrint e, PPrint t) => Show (Bound t e) Source # 

Methods

showsPrec :: Int -> Bound t e -> ShowS #

show :: Bound t e -> String #

showList :: [Bound t e] -> ShowS #

Generic (Bound t e) Source # 

Associated Types

type Rep (Bound t e) :: * -> * #

Methods

from :: Bound t e -> Rep (Bound t e) x #

to :: Rep (Bound t e) x -> Bound t e #

(Binary t, Binary e) => Binary (Bound t e) Source # 

Methods

put :: Bound t e -> Put #

get :: Get (Bound t e) #

putList :: [Bound t e] -> Put #

Hashable (Bound t e) Source # 

Methods

hashWithSalt :: Int -> Bound t e -> Int #

hash :: Bound t e -> Int #

(PPrint e, PPrint t) => PPrint (Bound t e) Source # 

Methods

pprintTidy :: Tidy -> Bound t e -> Doc #

pprintPrec :: Int -> Tidy -> Bound t e -> Doc #

type Rep (Bound t e) Source # 

type RRBound tv = Bound tv Expr Source #

makeBound :: (PPrint r, UReftable r, SubsTy RTyVar (RType RTyCon RTyVar ()) r) => RRBound RSort -> [RRType r] -> [Symbol] -> RRType r -> RRType r Source #