ghc-9.8.0.20230929: The GHC API
Safe HaskellNone
LanguageHaskell2010

GHC.Unit.Module.Env

Description

Module environment

Synopsis

Module mappings

data ModuleEnv elt Source #

A map keyed off of Modules

Instances

Instances details
Outputable a => Outputable (ModuleEnv a) Source # 
Instance details

Defined in GHC.Unit.Module.Env

Methods

ppr :: ModuleEnv a -> SDoc Source #

extendModuleEnvList_C :: (a -> a -> a) -> ModuleEnv a -> [(Module, a)] -> ModuleEnv a Source #

plusModuleEnv_C :: (a -> a -> a) -> ModuleEnv a -> ModuleEnv a -> ModuleEnv a Source #

mapModuleEnv :: (a -> b) -> ModuleEnv a -> ModuleEnv b Source #

extendModuleEnvWith :: (a -> a -> a) -> ModuleEnv a -> Module -> a -> ModuleEnv a Source #

ModuleName mappings

type ModuleNameEnv elt = UniqFM ModuleName elt Source #

A map keyed off of ModuleNames (actually, their Uniques)

type DModuleNameEnv elt = UniqDFM ModuleName elt Source #

A map keyed off of ModuleNames (actually, their Uniques) Has deterministic folds and can be deterministically converted to a list

Sets of Modules

type ModuleSet = Set NDModule Source #

A set of Modules

InstalledModuleEnv

data InstalledModuleEnv elt Source #

A map keyed off of InstalledModule

Instances

Instances details
Outputable elt => Outputable (InstalledModuleEnv elt) Source # 
Instance details

Defined in GHC.Unit.Module.Env