diff options
author | Sylvain Henry <sylvain@haskus.fr> | 2020-02-18 11:08:48 +0100 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2020-02-21 20:46:40 -0500 |
commit | 240f5bf6f53515535be5bf3ef7632aa69ae21e3e (patch) | |
tree | dc7be78ca126c66af0aeb9f7944ebfc0ac5a211c /compiler/GHC/Driver/Packages.hs-boot | |
parent | be7068a6130f394dcefbcb5d09c2944deca2270d (diff) | |
download | haskell-240f5bf6f53515535be5bf3ef7632aa69ae21e3e.tar.gz |
Modules: Driver (#13009)
submodule updates: nofib, haddock
Diffstat (limited to 'compiler/GHC/Driver/Packages.hs-boot')
-rw-r--r-- | compiler/GHC/Driver/Packages.hs-boot | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/compiler/GHC/Driver/Packages.hs-boot b/compiler/GHC/Driver/Packages.hs-boot new file mode 100644 index 0000000000..89fb2a1c18 --- /dev/null +++ b/compiler/GHC/Driver/Packages.hs-boot @@ -0,0 +1,12 @@ +module GHC.Driver.Packages where +import GhcPrelude +import {-# SOURCE #-} GHC.Driver.Session (DynFlags) +import {-# SOURCE #-} Module(ComponentId, UnitId, InstalledUnitId) +data PackageState +data UnitInfoMap +data PackageDatabase +emptyPackageState :: PackageState +componentIdString :: DynFlags -> ComponentId -> Maybe String +displayInstalledUnitId :: DynFlags -> InstalledUnitId -> Maybe String +improveUnitId :: UnitInfoMap -> UnitId -> UnitId +getUnitInfoMap :: DynFlags -> UnitInfoMap |