ghc-8.4.1.20180329: The GHC API

Safe HaskellNone
LanguageHaskell2010

UniqSet

Contents

Synopsis

Unique set type

data UniqSet a Source #

Instances
Eq (UniqSet a) Source # 
Instance details

Defined in UniqSet

Methods

(==) :: UniqSet a -> UniqSet a -> Bool #

(/=) :: UniqSet a -> UniqSet a -> Bool #

Data a => Data (UniqSet a) Source # 
Instance details

Defined in UniqSet

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UniqSet a -> c (UniqSet a) Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c (UniqSet a) Source #

toConstr :: UniqSet a -> Constr Source #

dataTypeOf :: UniqSet a -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c (UniqSet a)) Source #

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

gmapT :: (forall b. Data b => b -> b) -> UniqSet a -> UniqSet a Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UniqSet a -> r Source #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UniqSet a -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> UniqSet a -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UniqSet a -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UniqSet a -> m (UniqSet a) Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UniqSet a -> m (UniqSet a) Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UniqSet a -> m (UniqSet a) Source #

Semigroup (UniqSet a) Source # 
Instance details

Defined in UniqSet

Methods

(<>) :: UniqSet a -> UniqSet a -> UniqSet a Source #

sconcat :: NonEmpty (UniqSet a) -> UniqSet a Source #

stimes :: Integral b => b -> UniqSet a -> UniqSet a Source #

Monoid (UniqSet a) Source # 
Instance details

Defined in UniqSet

Outputable a => Outputable (UniqSet a) Source # 
Instance details

Defined in UniqSet

pprUniqSet :: (a -> SDoc) -> UniqSet a -> SDoc Source #

Manipulating these sets

uniqSetAny :: (a -> Bool) -> UniqSet a -> Bool Source #

uniqSetAll :: (a -> Bool) -> UniqSet a -> Bool Source #

mapUniqSet :: Uniquable b => (a -> b) -> UniqSet a -> UniqSet b Source #

unsafeUFMToUniqSet :: UniqFM a -> UniqSet a Source #

unsafeUFMToUniqSet converts a UniqFM a into a UniqSet a assuming, without checking, that it maps each Unique to a value that has that Unique. See Note [UniqSet invariant].

nonDetFoldUniqSet :: (elt -> a -> a) -> a -> UniqSet elt -> a Source #

nonDetFoldUniqSet_Directly :: (Unique -> elt -> a -> a) -> a -> UniqSet elt -> a Source #