From 227b8a3bf1302626339be3c35e3e4102fe8bc874 Mon Sep 17 00:00:00 2001 From: Daniel Gröber Date: Sun, 16 Dec 2018 03:55:26 +0100 Subject: Comments [ci skip] --- lib/Distribution/Helper.hs | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'lib/Distribution') 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 -- cgit v1.2.3