ghc-7.0.1: The GHC API

TcRnDriver

Synopsis

Documentation

getModuleExports :: HscEnv -> Module -> IO (Messages, Maybe [AvailInfo])Source

ASSUMES that the module is either in the HomePackageTable or is a package module with an interface on disk. If neither of these is true, then the result will be an error indicating the interface could not be found.