ghc-9.2.6: The GHC API
Safe HaskellSafe-Inferred
LanguageHaskell2010

GHC.HsToCore.Usage

Synopsis

Dependency/fingerprinting code (used by GHC.Iface.Make)

mkDependencies :: UnitId -> [Module] -> TcGblEnv -> IO Dependencies Source #

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

The second argument is additional dependencies from plugins