liquidhaskell-boot-0.9.10.1.2: Liquid Types for Haskell
Safe HaskellNone
LanguageHaskell98

Language.Haskell.Liquid.Types.Bounds

Documentation

data Bound t e Source #

Constructors

Bound 

Fields

Instances

Instances details
Bifunctor Bound Source # 
Instance details

Defined in Language.Haskell.Liquid.Types.Bounds

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 #

Functor (Bound t) Source # 
Instance details

Defined in Language.Haskell.Liquid.Types.Bounds

Methods

fmap :: (a -> b) -> Bound t a -> Bound t b #

(<$) :: a -> Bound t b -> Bound t a #

Foldable (Bound t) Source # 
Instance details

Defined in Language.Haskell.Liquid.Types.Bounds

Methods

fold :: Monoid m => Bound t m -> m #

foldMap :: Monoid m => (a -> m) -> Bound t a -> m #

foldMap' :: Monoid m => (a -> m) -> Bound t a -> m #

foldr :: (a -> b -> b) -> b -> Bound t a -> b #

foldr' :: (a -> b -> b) -> b -> Bound t a -> b #

foldl :: (b -> a -> b) -> b -> Bound t a -> b #

foldl' :: (b -> a -> b) -> b -> Bound t a -> b #

foldr1 :: (a -> a -> a) -> Bound t a -> a #

foldl1 :: (a -> a -> a) -> Bound t a -> a #

toList :: Bound t a -> [a] #

null :: Bound t a -> Bool #

length :: Bound t a -> Int #

elem :: Eq a => a -> Bound t a -> Bool #

maximum :: Ord a => Bound t a -> a #

minimum :: Ord a => Bound t a -> a #

sum :: Num a => Bound t a -> a #

product :: Num a => Bound t a -> a #

Traversable (Bound t) Source # 
Instance details

Defined in Language.Haskell.Liquid.Types.Bounds

Methods

traverse :: Applicative f => (a -> f b) -> Bound t a -> f (Bound t b) #

sequenceA :: Applicative f => Bound t (f a) -> f (Bound t a) #

mapM :: Monad m => (a -> m b) -> Bound t a -> m (Bound t b) #

sequence :: Monad m => Bound t (m a) -> m (Bound t a) #

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

Defined in Language.Haskell.Liquid.Types.Bounds

Methods

put :: Bound t e -> Put #

get :: Get (Bound t e) #

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

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

Defined in Language.Haskell.Liquid.Types.Bounds

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 t0 => (forall d. Data d => c (t0 d)) -> Maybe (c (Bound t e)) #

dataCast2 :: Typeable t0 => (forall d e0. (Data d, Data e0) => c (t0 d e0)) -> 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 :: forall r r'. (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) #

Generic (Bound t e) Source # 
Instance details

Defined in Language.Haskell.Liquid.Types.Bounds

Associated Types

type Rep (Bound t e) 
Instance details

Defined in Language.Haskell.Liquid.Types.Bounds

type Rep (Bound t e) = D1 ('MetaData "Bound" "Language.Haskell.Liquid.Types.Bounds" "liquidhaskell-boot-0.9.10.1.2-inplace" 'False) (C1 ('MetaCons "Bound" 'PrefixI 'True) ((S1 ('MetaSel ('Just "bname") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 LocSymbol) :*: S1 ('MetaSel ('Just "tyvars") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [t])) :*: (S1 ('MetaSel ('Just "bparams") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [(LocSymbol, t)]) :*: (S1 ('MetaSel ('Just "bargs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [(LocSymbol, t)]) :*: S1 ('MetaSel ('Just "bbody") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 e)))))

Methods

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

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

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

Defined in Language.Haskell.Liquid.Types.Bounds

Methods

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

show :: Bound t e -> String #

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

Eq (Bound t e) Source # 
Instance details

Defined in Language.Haskell.Liquid.Types.Bounds

Methods

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

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

Hashable (Bound t e) Source # 
Instance details

Defined in Language.Haskell.Liquid.Types.Bounds

Methods

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

hash :: Bound t e -> Int #

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

Defined in Language.Haskell.Liquid.Types.Bounds

Methods

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

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

type Rep (Bound t e) Source # 
Instance details

Defined in Language.Haskell.Liquid.Types.Bounds

type Rep (Bound t e) = D1 ('MetaData "Bound" "Language.Haskell.Liquid.Types.Bounds" "liquidhaskell-boot-0.9.10.1.2-inplace" 'False) (C1 ('MetaCons "Bound" 'PrefixI 'True) ((S1 ('MetaSel ('Just "bname") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 LocSymbol) :*: S1 ('MetaSel ('Just "tyvars") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [t])) :*: (S1 ('MetaSel ('Just "bparams") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [(LocSymbol, t)]) :*: (S1 ('MetaSel ('Just "bargs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [(LocSymbol, t)]) :*: S1 ('MetaSel ('Just "bbody") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 e)))))

type RRBoundV v tv = Bound tv (ExprV v) Source #

emapBoundM :: Monad m => ([Symbol] -> t0 -> m t1) -> ([Symbol] -> e0 -> m e1) -> Bound t0 e0 -> m (Bound t1 e1) Source #

mapBoundTy :: (t0 -> t1) -> Bound t0 e -> Bound t1 e Source #