@@ -58,8 +58,13 @@ type Vars = Map Name Var
58type PatVar = Ctors -> Var
58type PatVar = Ctors -> Var
59type PatVars = Map Name PatVar
59type PatVars = Map Name PatVar
61+minimalUsage :: DepMap -> UseMap
62+minimalUsage dmap = undefined
64+-- Build the dependency graph,
65+-- starting the depth-first search from a list of Names.
61−buildDepMap :: Context -> Ctxt CGInfo -> [Name] -> DepMap
66+buildDepMap :: Context -> [Name] -> DepMap
62−buildDepMap ctx cg ns = dfs M.empty ns
67+buildDepMap ctx ns = dfs M.empty ns
64 -- perform depth-first search
69 -- perform depth-first search
65 -- to discover all the names used in the program
70 -- to discover all the names used in the program