ghc-10.0.0.20260917: The GHC API
Safe HaskellNone
LanguageGHC2024

GHC.Unit.External.Providers

Synopsis

Documentation

type ModuleNameProvidersMap = UniqMap ModuleName (UniqMap Module ModuleOrigin) Source #

Map from ModuleName to a set of module providers (i.e. a Module and its ModuleOrigin).

NB: the set is in fact a 'Map Module ModuleOrigin', probably to keep only one origin for a given Module

pprModuleMap :: ModuleNameProvidersMap -> SDoc Source #

Show the mapping of modules to where they come from.

mkModuleNameProvidersMap :: Logger -> Bool -> UnitInfoMap -> VisibilityMap -> ModuleNameProvidersMap Source #

Makes the mapping from ModuleName to package info