DsUsage

ghc-8.2.2: The GHC API

Safe Haskell | None
Language | Haskell2010

DsUsage

Contents

- Dependency/fingerprinting code (used by MkIface)

Synopsis

- mkUsageInfo :: HscEnv -> Module -> ImportedMods -> NameSet -> [FilePath] -> [(Module, Fingerprint)] -> IO [Usage]
- mkUsedNames :: TcGblEnv -> NameSet
- mkDependencies :: TcGblEnv -> IO Dependencies

# Dependency/fingerprinting code (used by MkIface)

mkUsageInfo :: HscEnv -> Module -> ImportedMods -> NameSet -> [FilePath] -> [(Module, Fingerprint)] -> IO [Usage] Source #

mkUsedNames :: TcGblEnv -> NameSet Source #

mkDependencies :: TcGblEnv -> IO Dependencies Source #

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