Safe Haskell | None |
---|---|
Language | Haskell2010 |
Info about modules in the "home" unit
Synopsis
- data HomeModInfo = HomeModInfo {}
- data HomeModLinkable = HomeModLinkable {
- homeMod_bytecode :: !(Maybe Linkable)
- homeMod_object :: !(Maybe Linkable)
- homeModInfoObject :: HomeModInfo -> Maybe Linkable
- homeModInfoByteCode :: HomeModInfo -> Maybe Linkable
- emptyHomeModInfoLinkable :: HomeModLinkable
- justBytecode :: Linkable -> HomeModLinkable
- justObjects :: Linkable -> HomeModLinkable
- bytecodeAndObjects :: Linkable -> Linkable -> HomeModLinkable
- type HomePackageTable = DModuleNameEnv HomeModInfo
- emptyHomePackageTable :: HomePackageTable
- lookupHpt :: HomePackageTable -> ModuleName -> Maybe HomeModInfo
- eltsHpt :: HomePackageTable -> [HomeModInfo]
- filterHpt :: (HomeModInfo -> Bool) -> HomePackageTable -> HomePackageTable
- allHpt :: (HomeModInfo -> Bool) -> HomePackageTable -> Bool
- anyHpt :: (HomeModInfo -> Bool) -> HomePackageTable -> Bool
- mapHpt :: (HomeModInfo -> HomeModInfo) -> HomePackageTable -> HomePackageTable
- delFromHpt :: HomePackageTable -> ModuleName -> HomePackageTable
- addToHpt :: HomePackageTable -> ModuleName -> HomeModInfo -> HomePackageTable
- addHomeModInfoToHpt :: HomeModInfo -> HomePackageTable -> HomePackageTable
- addListToHpt :: HomePackageTable -> [(ModuleName, HomeModInfo)] -> HomePackageTable
- lookupHptDirectly :: HomePackageTable -> Unique -> Maybe HomeModInfo
- lookupHptByModule :: HomePackageTable -> Module -> Maybe HomeModInfo
- listToHpt :: [(ModuleName, HomeModInfo)] -> HomePackageTable
- listHMIToHpt :: [HomeModInfo] -> HomePackageTable
- pprHPT :: HomePackageTable -> SDoc
Documentation
data HomeModInfo Source #
Information about modules in the package being compiled
HomeModInfo | |
|
data HomeModLinkable Source #
HomeModLinkable | |
|
Instances
Outputable HomeModLinkable Source # | |
Defined in GHC.Unit.Home.ModInfo ppr :: HomeModLinkable -> SDoc Source # |
bytecodeAndObjects :: Linkable -> Linkable -> HomeModLinkable Source #
type HomePackageTable = DModuleNameEnv HomeModInfo Source #
Helps us find information about modules in the home package
emptyHomePackageTable :: HomePackageTable Source #
Constructs an empty HomePackageTable
lookupHpt :: HomePackageTable -> ModuleName -> Maybe HomeModInfo Source #
eltsHpt :: HomePackageTable -> [HomeModInfo] Source #
filterHpt :: (HomeModInfo -> Bool) -> HomePackageTable -> HomePackageTable Source #
allHpt :: (HomeModInfo -> Bool) -> HomePackageTable -> Bool Source #
anyHpt :: (HomeModInfo -> Bool) -> HomePackageTable -> Bool Source #
mapHpt :: (HomeModInfo -> HomeModInfo) -> HomePackageTable -> HomePackageTable Source #
addToHpt :: HomePackageTable -> ModuleName -> HomeModInfo -> HomePackageTable Source #
addListToHpt :: HomePackageTable -> [(ModuleName, HomeModInfo)] -> HomePackageTable Source #
listToHpt :: [(ModuleName, HomeModInfo)] -> HomePackageTable Source #
listHMIToHpt :: [HomeModInfo] -> HomePackageTable Source #
pprHPT :: HomePackageTable -> SDoc Source #