Safe Haskell | None |
---|---|
Language | Haskell2010 |
- importTable :: Environment -> Module l -> Table
- annotateImportDecls :: ModuleName l -> Environment -> [ImportDecl l] -> [ImportDecl (Scoped l)]
Documentation
importTable :: Environment -> Module l -> Table Source #
Compute a table of symbols imported by the given module from the given environment.
annotateImportDecls :: ModuleName l -> Environment -> [ImportDecl l] -> [ImportDecl (Scoped l)] Source #
Annotate the given list of import declarations with scoping information against the given environment. We need the name of the module that contains the import declarations for error annotations.