- rnImports :: [LImportDecl RdrName] -> RnM ([LImportDecl Name], GlobalRdrEnv, ImportAvails, AnyHpcUsage)
- getLocalNonValBinders :: HsGroup RdrName -> RnM [AvailInfo]
- rnExports :: Bool -> Maybe [LIE RdrName] -> TcGblEnv -> RnM TcGblEnv
- extendGlobalRdrEnvRn :: [AvailInfo] -> MiniFixityEnv -> RnM (TcGblEnv, TcLclEnv)
- gresFromAvails :: Provenance -> [AvailInfo] -> [GlobalRdrElt]
- reportUnusedNames :: Maybe [LIE RdrName] -> TcGblEnv -> RnM ()
- finishWarnings :: DynFlags -> Maybe WarningTxt -> TcGblEnv -> RnM TcGblEnv
Documentation
rnImports :: [LImportDecl RdrName] -> RnM ([LImportDecl Name], GlobalRdrEnv, ImportAvails, AnyHpcUsage)Source
extendGlobalRdrEnvRn :: [AvailInfo] -> MiniFixityEnv -> RnM (TcGblEnv, TcLclEnv)Source
gresFromAvails :: Provenance -> [AvailInfo] -> [GlobalRdrElt]Source
make a GlobalRdrEnv
where all the elements point to the same
import declaration (useful for hiding imports, or imports with
no details).
finishWarnings :: DynFlags -> Maybe WarningTxt -> TcGblEnv -> RnM TcGblEnvSource