summaryrefslogtreecommitdiff
path: root/compiler/GHC/Driver/Packages.hs-boot
diff options
context:
space:
mode:
authorSylvain Henry <sylvain@haskus.fr>2020-02-18 11:08:48 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-02-21 20:46:40 -0500
commit240f5bf6f53515535be5bf3ef7632aa69ae21e3e (patch)
treedc7be78ca126c66af0aeb9f7944ebfc0ac5a211c /compiler/GHC/Driver/Packages.hs-boot
parentbe7068a6130f394dcefbcb5d09c2944deca2270d (diff)
downloadhaskell-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-boot12
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