ghc-7.8.20140130: The GHC API

Safe HaskellNone
LanguageHaskell98

RnNames

Synopsis

Documentation

rnImports :: [LImportDecl RdrName] -> RnM ([LImportDecl Name], GlobalRdrEnv, ImportAvails, AnyHpcUsage)Source

Process Import Decls Do the non SOURCE ones first, so that we get a helpful warning for SOURCE ones that are unnecessary

gresFromAvails :: Provenance -> [AvailInfo] -> [GlobalRdrElt]Source

make a GlobalRdrEnv where all the elements point to the same Provenance (useful for "hiding" imports, or imports with no details).