ghc-lib-0.20201101: The GHC API, decoupled from GHC versions
Safe HaskellNone
LanguageHaskell2010

GHC.Tc.Gen.Export

Documentation

tcRnExports :: Bool -> Maybe (Located [LIE GhcPs]) -> TcGblEnv -> RnM TcGblEnv Source #

exports_from_avail Source #

Arguments

:: Maybe (Located [LIE GhcPs])

Nothing means no explicit export list

-> GlobalRdrEnv 
-> ImportAvails

Imported modules; this is used to test if a module Foo export is valid (it's not valid if we didn't import Foo!)

-> Module 
-> RnM (Maybe [(LIE GhcRn, Avails)], Avails)