GHC.Unit.Module.ModNodeKey

ghc-9.14.0.20251028: The GHC API

Safe Haskell | None
Language | GHC2021

GHC.Unit.Module.ModNodeKey

Synopsis

- data ModNodeKeyWithUid = ModNodeKeyWithUid {
  - mnkModuleName :: !ModuleNameWithIsBoot
  - mnkUnitId :: !UnitId
  }
- mnkToModule :: ModNodeKeyWithUid -> Module
- moduleToMnk :: Module -> IsBootInterface -> ModNodeKeyWithUid
- mnkIsBoot :: ModNodeKeyWithUid -> IsBootInterface
- mnkToInstalledModule :: ModNodeKeyWithUid -> InstalledModule
- installedModuleToMnk :: InstalledModule -> ModNodeKeyWithUid

# Documentation

data ModNodeKeyWithUid Source #

Constructors

ModNodeKeyWithUid |
Fields mnkModuleName :: !ModuleNameWithIsBoot mnkUnitId :: !UnitId

#### Instances

Instances details

Outputable ModNodeKeyWithUid Source # |
Instance details Defined in GHC.Unit.Module.ModNodeKey Methods ppr :: ModNodeKeyWithUid -> SDoc Source #
Eq ModNodeKeyWithUid Source # |
Instance details Defined in GHC.Unit.Module.ModNodeKey Methods (==) :: ModNodeKeyWithUid -> ModNodeKeyWithUid -> Bool Source # (/=) :: ModNodeKeyWithUid -> ModNodeKeyWithUid -> Bool Source #
Ord ModNodeKeyWithUid Source # |
Instance details Defined in GHC.Unit.Module.ModNodeKey Methods compare :: ModNodeKeyWithUid -> ModNodeKeyWithUid -> Ordering Source # (<) :: ModNodeKeyWithUid -> ModNodeKeyWithUid -> Bool Source # (<=) :: ModNodeKeyWithUid -> ModNodeKeyWithUid -> Bool Source # (>) :: ModNodeKeyWithUid -> ModNodeKeyWithUid -> Bool Source # (>=) :: ModNodeKeyWithUid -> ModNodeKeyWithUid -> Bool Source # max :: ModNodeKeyWithUid -> ModNodeKeyWithUid -> ModNodeKeyWithUid Source # min :: ModNodeKeyWithUid -> ModNodeKeyWithUid -> ModNodeKeyWithUid Source #

mnkToModule :: ModNodeKeyWithUid -> Module Source #

moduleToMnk :: Module -> IsBootInterface -> ModNodeKeyWithUid Source #

mnkIsBoot :: ModNodeKeyWithUid -> IsBootInterface Source #

mnkToInstalledModule :: ModNodeKeyWithUid -> InstalledModule Source #

installedModuleToMnk :: InstalledModule -> ModNodeKeyWithUid Source #

Already InstalledModules are always NotBoot