diff options
author | Sylvain Henry <sylvain@haskus.fr> | 2020-04-11 17:03:18 +0200 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2020-04-30 01:56:56 -0400 |
commit | 8bfb0219587b969d5c8f723c46d433e9493958b4 (patch) | |
tree | 7ed243039324e5a85905985589d7defd91543625 /libraries/ghc-boot/GHC | |
parent | 10d15f1ec4bab4dd6152d87fc66e61658a705eb3 (diff) | |
download | haskell-8bfb0219587b969d5c8f723c46d433e9493958b4.tar.gz |
Unit: split and rename modules
Introduce GHC.Unit.* hierarchy for everything concerning units, packages
and modules.
Update Haddock submodule
Diffstat (limited to 'libraries/ghc-boot/GHC')
-rw-r--r-- | libraries/ghc-boot/GHC/Unit/Database.hs (renamed from libraries/ghc-boot/GHC/PackageDb.hs) | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libraries/ghc-boot/GHC/PackageDb.hs b/libraries/ghc-boot/GHC/Unit/Database.hs index 650234927c..8ed139adf3 100644 --- a/libraries/ghc-boot/GHC/PackageDb.hs +++ b/libraries/ghc-boot/GHC/Unit/Database.hs @@ -15,7 +15,7 @@ ----------------------------------------------------------------------------- -- | --- Module : GHC.PackageDb +-- Module : GHC.Unit.Database -- Copyright : (c) The University of Glasgow 2009, Duncan Coutts 2014 -- -- Maintainer : ghc-devs@haskell.org @@ -47,7 +47,7 @@ -- is kept in the file but here we treat it as an opaque blob of data. That way -- this library avoids depending on Cabal. -- -module GHC.PackageDb +module GHC.Unit.Database ( GenericUnitInfo(..) , type DbUnitInfo , DbModule (..) @@ -495,7 +495,7 @@ decodeFromFile file mode decoder = case mode of where err = mkIOError InappropriateType loc Nothing (Just file) `ioeSetErrorString` msg - loc = "GHC.PackageDb.readPackageDb" + loc = "GHC.Unit.Database.readPackageDb" -- Copied from Cabal's Distribution.Simple.Utils. writeFileAtomic :: FilePath -> BS.Lazy.ByteString -> IO () |