ghc-7.2.2: The GHC API

MkIface

Synopsis

Documentation

mkDependencies :: TcGblEnv -> IO DependenciesSource

Extract information from the rename and typecheck phases to produce a dependencies information for the module being compiled.

mkIfaceTc :: HscEnv -> Maybe Fingerprint -> ModDetails -> TcGblEnv -> IO (Messages, Maybe (ModIface, Bool))Source

make an interface from the results of typechecking only. Useful for non-optimising compilation, or where we aren't generating any object code at all (HscNothing).