diff options
Diffstat (limited to 'compiler/GHC/Driver/Packages.hs-boot')
-rw-r--r-- | compiler/GHC/Driver/Packages.hs-boot | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/compiler/GHC/Driver/Packages.hs-boot b/compiler/GHC/Driver/Packages.hs-boot index eab2ebd60f..368057e2d3 100644 --- a/compiler/GHC/Driver/Packages.hs-boot +++ b/compiler/GHC/Driver/Packages.hs-boot @@ -2,14 +2,15 @@ module GHC.Driver.Packages where import GHC.Prelude import GHC.Data.FastString import {-# SOURCE #-} GHC.Driver.Session (DynFlags) -import {-# SOURCE #-} GHC.Types.Module(ComponentId, UnitId, InstalledUnitId) +import {-# SOURCE #-} GHC.Types.Module(IndefUnitId, Unit, UnitId) data PackageState data UnitInfoMap -data PackageDatabase +data PackageDatabase unit emptyPackageState :: PackageState -componentIdString :: ComponentId -> String -mkComponentId :: PackageState -> FastString -> ComponentId -displayInstalledUnitId :: PackageState -> InstalledUnitId -> Maybe String -improveUnitId :: UnitInfoMap -> UnitId -> UnitId +mkIndefUnitId :: PackageState -> FastString -> IndefUnitId +displayUnitId :: PackageState -> UnitId -> Maybe String +improveUnit :: UnitInfoMap -> Unit -> Unit getUnitInfoMap :: DynFlags -> UnitInfoMap +unitInfoMap :: PackageState -> UnitInfoMap getPackageState :: DynFlags -> PackageState +updateIndefUnitId :: PackageState -> IndefUnitId -> IndefUnitId |