ghc-8.2.2: The GHC API

Safe Haskell | None
Language | Haskell2010

UnVarGraph

# Documentation

data UnVarSet #

Instances

Eq UnVarSet # |
Methods (==) :: UnVarSet -> UnVarSet -> Bool # (/=) :: UnVarSet -> UnVarSet -> Bool #
Outputable UnVarSet # |
Methods ppr :: UnVarSet -> SDoc # pprPrec :: Rational -> UnVarSet -> SDoc #

emptyUnVarSet :: UnVarSet #

mkUnVarSet :: [Var] -> UnVarSet #

varEnvDom :: VarEnv a -> UnVarSet #

unionUnVarSet :: UnVarSet -> UnVarSet -> UnVarSet #

unionUnVarSets :: [UnVarSet] -> UnVarSet #

delUnVarSet :: UnVarSet -> Var -> UnVarSet #

elemUnVarSet :: Var -> UnVarSet -> Bool #

isEmptyUnVarSet :: UnVarSet -> Bool #

data UnVarGraph #

Instances

Outputable UnVarGraph # |
Methods ppr :: UnVarGraph -> SDoc # pprPrec :: Rational -> UnVarGraph -> SDoc #

emptyUnVarGraph :: UnVarGraph #

unionUnVarGraph :: UnVarGraph -> UnVarGraph -> UnVarGraph #

unionUnVarGraphs :: [UnVarGraph] -> UnVarGraph #

completeGraph :: UnVarSet -> UnVarGraph #

completeBipartiteGraph :: UnVarSet -> UnVarSet -> UnVarGraph #

neighbors :: UnVarGraph -> Var -> UnVarSet #

delNode :: UnVarGraph -> Var -> UnVarGraph #