UnVarGraph

ghc-8.0.0.20160204: The GHC API

Safe Haskell | None
Language | Haskell2010

UnVarGraph

# Documentation

data UnVarSet Source

Instances

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

emptyUnVarSet :: UnVarSet Source

mkUnVarSet :: [Var] -> UnVarSet Source

varEnvDom :: VarEnv a -> UnVarSet Source

unionUnVarSet :: UnVarSet -> UnVarSet -> UnVarSet Source

unionUnVarSets :: [UnVarSet] -> UnVarSet Source

delUnVarSet :: UnVarSet -> Var -> UnVarSet Source

elemUnVarSet :: Var -> UnVarSet -> Bool Source

isEmptyUnVarSet :: UnVarSet -> Bool Source

data UnVarGraph Source

Instances

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

emptyUnVarGraph :: UnVarGraph Source

unionUnVarGraph :: UnVarGraph -> UnVarGraph -> UnVarGraph Source

unionUnVarGraphs :: [UnVarGraph] -> UnVarGraph Source

completeGraph :: UnVarSet -> UnVarGraph Source

completeBipartiteGraph :: UnVarSet -> UnVarSet -> UnVarGraph Source

neighbors :: UnVarGraph -> Var -> UnVarSet Source

delNode :: UnVarGraph -> Var -> UnVarGraph Source