diff options
author | Daniel Gröber <dxld@darkboxed.org> | 2018-12-16 03:55:26 +0100 |
---|---|---|
committer | Daniel Gröber <dxld@darkboxed.org> | 2019-01-22 03:06:51 +0100 |
commit | 227b8a3bf1302626339be3c35e3e4102fe8bc874 (patch) | |
tree | 859d65a957ce5343d237000b894c6eb81c4fa5b6 /lib/Distribution | |
parent | fe19006b6e4fe1ea3be52fd17c9ff70e24adcd78 (diff) |
Comments
[ci skip]
Diffstat (limited to 'lib/Distribution')
-rw-r--r-- | lib/Distribution/Helper.hs | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/Distribution/Helper.hs b/lib/Distribution/Helper.hs index 2f9493e..d8fcdf7 100644 --- a/lib/Distribution/Helper.hs +++ b/lib/Distribution/Helper.hs @@ -143,19 +143,18 @@ import qualified CabalHelper.Compiletime.Compat.ProgramDb as ProgDb import Distribution.System (buildPlatform) import Distribution.Text (display) import Distribution.Verbosity (silent, deafening) ---import Distribution.Package (packageName, packageVersion) import Distribution.Simple.GHC as GHC (configure) -- $type-conventions -- Throughout the API we use the following conventions for type variables: -- --- * @pt@ stands for "project type", when instantiated is always of kind +-- * @pt@ stands for "project type", when instantiated it is always of kind -- 'ProjType'. -- -- * @c@ stands for "cache". It is used internally to make the cache -- inaccessible for some parts of the implementation. Users of the API may --- ignore it. See the internal 'qeCacheRef' field accessor of 'QueryEnv' for --- details. +-- completely ignore this parameter. See the internal 'qeCacheRef' field +-- accessor of 'QueryEnv' for details. -- | A lazy, cached, query against a package's Cabal configuration. Use @@ -443,7 +442,7 @@ readProjInfo qe pc pcm = withVerbosity $ do let ?cprogs = cprogs in let ?progs = qePrograms qe in GHC.listCabalVersions (Just (sppGlobalPkgDb proj_paths)) - -- ^ See [Note Stack Cabal Version] + -- ^ See [Note Stack Cabal Version] return ProjInfo { piCabalVersion = cabalVer , piProjConfModTimes = pcm |