haskell-names-0.9.1: Name resolution library for Haskell

Safe HaskellNone
LanguageHaskell2010

Language.Haskell.Names.Imports

Synopsis

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.