[commit: ghc] wip/nfs-locking: Clean up. (0678e10)

git at git.haskell.org git at git.haskell.org
Fri Oct 27 00:11:14 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/nfs-locking
Link       : http://ghc.haskell.org/trac/ghc/changeset/0678e1030e5f90b55dedcf2d72adc431f0995de5/ghc

>---------------------------------------------------------------

commit 0678e1030e5f90b55dedcf2d72adc431f0995de5
Author: Andrey Mokhov <andrey.mokhov at gmail.com>
Date:   Mon Dec 14 02:43:00 2015 +0000

    Clean up.


>---------------------------------------------------------------

0678e1030e5f90b55dedcf2d72adc431f0995de5
 src/GHC.hs     | 2 +-
 src/Package.hs | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/GHC.hs b/src/GHC.hs
index 355ed71..ea48014 100644
--- a/src/GHC.hs
+++ b/src/GHC.hs
@@ -28,7 +28,7 @@ defaultKnownPackages =
     , process, runghc, stm, templateHaskell, terminfo, time, transformers, unix
     , win32, xhtml ]
 
--- Package definitions
+-- Package definitions (see Package.hs)
 array, base, binPackageDb, binary, bytestring, cabal, compiler, containers,
     compareSizes, deepseq, deriveConstants, directory, dllSplit, filepath,
     genapply, genprimopcode, ghc, ghcCabal, ghcPkg, ghcPrim, ghcPwd,
diff --git a/src/Package.hs b/src/Package.hs
index 85fbd13..a490cb9 100644
--- a/src/Package.hs
+++ b/src/Package.hs
@@ -9,11 +9,14 @@ import GHC.Generics (Generic)
 -- It is helpful to distinguish package names from strings.
 type PackageName = String
 
+-- type PackageType = Program | Library
+
 -- pkgPath is the path to the source code relative to the root
 data Package = Package
      {
          pkgName :: PackageName, -- Examples: "ghc", "Cabal"
          pkgPath :: FilePath     -- "compiler", "libraries/Cabal/Cabal"
+         -- pkgType :: PackageType  -- TopLevel, Library
      }
      deriving Generic
 



More information about the ghc-commits mailing list