ghc-9.12: The GHC API
Safe HaskellNone
LanguageGHC2021

GHC.Unit.External

Synopsis

Documentation

newtype ExternalUnitCache Source #

Information about the currently loaded external packages. This is mutable because packages will be demand-loaded during a compilation run as required.

data ExternalPackageState Source #

Information about other packages that we have slurped in by reading their interface files

Constructors

EPS 

Fields

data EpsStats Source #

Accumulated statistics about what we are putting into the ExternalPackageState. "In" means stuff that is just read from interface files, "Out" means actually sucked in and type-checked

Constructors

EpsStats 

addEpsInStats :: EpsStats -> Int -> Int -> Int -> EpsStats Source #

Add stats for one newly-read interface

type PackageIfaceTable = ModuleEnv ModIface Source #

Helps us find information about modules in the imported packages

emptyPackageIfaceTable :: PackageIfaceTable Source #

Constructs an empty PackageIfaceTable