Hoopl.Label

ghc-8.4.4: The GHC API

Safe Haskell | None
Language | Haskell2010

Hoopl.Label

# Documentation

data Label #

Instances

Eq Label # |
Instance details Defined in Hoopl.Label Methods (==) :: Label -> Label -> Bool # (/=) :: Label -> Label -> Bool #
Ord Label # |
Instance details Defined in Hoopl.Label Methods compare :: Label -> Label -> Ordering # (<) :: Label -> Label -> Bool # (<=) :: Label -> Label -> Bool # (>) :: Label -> Label -> Bool # (>=) :: Label -> Label -> Bool # max :: Label -> Label -> Label # min :: Label -> Label -> Label #
Show Label # |
Instance details Defined in Hoopl.Label Methods showsPrec :: Int -> Label -> ShowS Source # show :: Label -> String Source # showList :: [Label] -> ShowS Source #
Outputable Label # |
Instance details Defined in Hoopl.Label Methods ppr :: Label -> SDoc # pprPrec :: Rational -> Label -> SDoc #
Uniquable Label # |
Instance details Defined in Hoopl.Label Methods getUnique :: Label -> Unique #

data LabelMap v #

Instances

Functor LabelMap # |
Instance details Defined in Hoopl.Label Methods fmap :: (a -> b) -> LabelMap a -> LabelMap b Source # (<$) :: a -> LabelMap b -> LabelMap a Source #
Foldable LabelMap # |
Instance details Defined in Hoopl.Label Methods fold :: Monoid m => LabelMap m -> m Source # foldMap :: Monoid m => (a -> m) -> LabelMap a -> m Source # foldr :: (a -> b -> b) -> b -> LabelMap a -> b Source # foldr' :: (a -> b -> b) -> b -> LabelMap a -> b Source # foldl :: (b -> a -> b) -> b -> LabelMap a -> b Source # foldl' :: (b -> a -> b) -> b -> LabelMap a -> b Source # foldr1 :: (a -> a -> a) -> LabelMap a -> a Source # foldl1 :: (a -> a -> a) -> LabelMap a -> a Source # toList :: LabelMap a -> [a] Source # null :: LabelMap a -> Bool Source # length :: LabelMap a -> Int Source # elem :: Eq a => a -> LabelMap a -> Bool Source # maximum :: Ord a => LabelMap a -> a Source # minimum :: Ord a => LabelMap a -> a Source # sum :: Num a => LabelMap a -> a Source # product :: Num a => LabelMap a -> a Source #
Traversable LabelMap # |
Instance details Defined in Hoopl.Label Methods traverse :: Applicative f => (a -> f b) -> LabelMap a -> f (LabelMap b) Source # sequenceA :: Applicative f => LabelMap (f a) -> f (LabelMap a) Source # mapM :: Monad m => (a -> m b) -> LabelMap a -> m (LabelMap b) Source # sequence :: Monad m => LabelMap (m a) -> m (LabelMap a) Source #
IsMap LabelMap # |
Instance details Defined in Hoopl.Label Associated Types type KeyOf LabelMap :: * # Methods mapNull :: LabelMap a -> Bool # mapSize :: LabelMap a -> Int # mapMember :: KeyOf LabelMap -> LabelMap a -> Bool # mapLookup :: KeyOf LabelMap -> LabelMap a -> Maybe a # mapFindWithDefault :: a -> KeyOf LabelMap -> LabelMap a -> a # mapEmpty :: LabelMap a # mapSingleton :: KeyOf LabelMap -> a -> LabelMap a # mapInsert :: KeyOf LabelMap -> a -> LabelMap a -> LabelMap a # mapInsertWith :: (a -> a -> a) -> KeyOf LabelMap -> a -> LabelMap a -> LabelMap a # mapDelete :: KeyOf LabelMap -> LabelMap a -> LabelMap a # mapUnion :: LabelMap a -> LabelMap a -> LabelMap a # mapUnionWithKey :: (KeyOf LabelMap -> a -> a -> a) -> LabelMap a -> LabelMap a -> LabelMap a # mapDifference :: LabelMap a -> LabelMap a -> LabelMap a # mapIntersection :: LabelMap a -> LabelMap a -> LabelMap a # mapIsSubmapOf :: Eq a => LabelMap a -> LabelMap a -> Bool # mapMap :: (a -> b) -> LabelMap a -> LabelMap b # mapMapWithKey :: (KeyOf LabelMap -> a -> b) -> LabelMap a -> LabelMap b # mapFold :: (a -> b -> b) -> b -> LabelMap a -> b # mapFoldWithKey :: (KeyOf LabelMap -> a -> b -> b) -> b -> LabelMap a -> b # mapFilter :: (a -> Bool) -> LabelMap a -> LabelMap a # mapElems :: LabelMap a -> [a] # mapKeys :: LabelMap a -> [KeyOf LabelMap] # mapToList :: LabelMap a -> [(KeyOf LabelMap, a)] # mapFromList :: [(KeyOf LabelMap, a)] -> LabelMap a # mapFromListWith :: (a -> a -> a) -> [(KeyOf LabelMap, a)] -> LabelMap a #
Eq v => Eq (LabelMap v) # |
Instance details Defined in Hoopl.Label Methods (==) :: LabelMap v -> LabelMap v -> Bool # (/=) :: LabelMap v -> LabelMap v -> Bool #
Ord v => Ord (LabelMap v) # |
Instance details Defined in Hoopl.Label Methods compare :: LabelMap v -> LabelMap v -> Ordering # (<) :: LabelMap v -> LabelMap v -> Bool # (<=) :: LabelMap v -> LabelMap v -> Bool # (>) :: LabelMap v -> LabelMap v -> Bool # (>=) :: LabelMap v -> LabelMap v -> Bool # max :: LabelMap v -> LabelMap v -> LabelMap v # min :: LabelMap v -> LabelMap v -> LabelMap v #
Show v => Show (LabelMap v) # |
Instance details Defined in Hoopl.Label Methods showsPrec :: Int -> LabelMap v -> ShowS Source # show :: LabelMap v -> String Source # showList :: [LabelMap v] -> ShowS Source #
Outputable a => Outputable (LabelMap a) # |
Instance details Defined in Hoopl.Label Methods ppr :: LabelMap a -> SDoc # pprPrec :: Rational -> LabelMap a -> SDoc #
type KeyOf LabelMap # |
Instance details Defined in Hoopl.Label type KeyOf LabelMap = Label

data LabelSet #

Instances

Eq LabelSet # |
Instance details Defined in Hoopl.Label Methods (==) :: LabelSet -> LabelSet -> Bool # (/=) :: LabelSet -> LabelSet -> Bool #
Ord LabelSet # |
Instance details Defined in Hoopl.Label Methods compare :: LabelSet -> LabelSet -> Ordering # (<) :: LabelSet -> LabelSet -> Bool # (<=) :: LabelSet -> LabelSet -> Bool # (>) :: LabelSet -> LabelSet -> Bool # (>=) :: LabelSet -> LabelSet -> Bool # max :: LabelSet -> LabelSet -> LabelSet # min :: LabelSet -> LabelSet -> LabelSet #
Show LabelSet # |
Instance details Defined in Hoopl.Label Methods showsPrec :: Int -> LabelSet -> ShowS Source # show :: LabelSet -> String Source # showList :: [LabelSet] -> ShowS Source #
IsSet LabelSet # |
Instance details Defined in Hoopl.Label Associated Types type ElemOf LabelSet :: * # Methods setNull :: LabelSet -> Bool # setSize :: LabelSet -> Int # setMember :: ElemOf LabelSet -> LabelSet -> Bool # setEmpty :: LabelSet # setSingleton :: ElemOf LabelSet -> LabelSet # setInsert :: ElemOf LabelSet -> LabelSet -> LabelSet # setDelete :: ElemOf LabelSet -> LabelSet -> LabelSet # setUnion :: LabelSet -> LabelSet -> LabelSet # setDifference :: LabelSet -> LabelSet -> LabelSet # setIntersection :: LabelSet -> LabelSet -> LabelSet # setIsSubsetOf :: LabelSet -> LabelSet -> Bool # setFold :: (ElemOf LabelSet -> b -> b) -> b -> LabelSet -> b # setElems :: LabelSet -> [ElemOf LabelSet] # setFromList :: [ElemOf LabelSet] -> LabelSet #
Outputable LabelSet # |
Instance details Defined in Hoopl.Label Methods ppr :: LabelSet -> SDoc # pprPrec :: Rational -> LabelSet -> SDoc #
type ElemOf LabelSet # |
Instance details Defined in Hoopl.Label type ElemOf LabelSet = Label

type FactBase f = LabelMap f #

lookupFact :: Label -> FactBase f -> Maybe f #

uniqueToLbl :: Unique -> Label #