Commit ab0743f8 authored by thomie's avatar thomie

Comments only, mostly typos

[skip ci]
parent fd1099cb
......@@ -772,7 +772,7 @@ However, some code is internally generated, and in some places
parens are absolutely required; so for these places we use
pprParendExpr (but don't print double parens of course).
For operator applications we don't add parens, because the oprerator
For operator applications we don't add parens, because the operator
fixities should do the job, except in debug mode (-dppr-debug) so we
can see the structure of the parse tree.
-}
......
......@@ -97,7 +97,7 @@ label_self thread_name = do
--
-- Note that each 'ModSummary' in the module graph caches its 'DynFlags'.
-- These 'DynFlags' are determined by the /current/ session 'DynFlags' and the
-- @OPTIONS@ and @LANGUAGE@ pragmas of the parsed module. Thus if you want to
-- @OPTIONS@ and @LANGUAGE@ pragmas of the parsed module. Thus if you want
-- changes to the 'DynFlags' to take effect you need to call this function
-- again.
--
......
......@@ -91,7 +91,7 @@ computeMaxTicks dflags size
-- MAGIC NUMBER, multiplies the simplTickFactor
-- We can afford to be generous; this is really
-- just checking for loops, and shouldn't usually fire
-- A figure of 20 was too small: see Trac #553
-- A figure of 20 was too small: see Trac #5539.
{-# INLINE thenSmpl #-}
{-# INLINE thenSmpl_ #-}
......
......@@ -98,7 +98,7 @@ import qualified Data.Data as Data hiding ( TyCon )
data Type
= TyVarTy Var -- ^ Vanilla type or kind variable (*never* a coercion variable)
| AppTy -- See Note [AppTy invariant]
| AppTy -- See Note [AppTy rep]
Type
Type -- ^ Type application to something other than a 'TyCon'. Parameters:
--
......@@ -107,10 +107,10 @@ data Type
--
-- 2) Argument type
| TyConApp -- See Note [AppTy invariant]
| TyConApp -- See Note [AppTy rep]
TyCon
[KindOrType] -- ^ Application of a 'TyCon', including newtypes /and/ synonyms.
-- Invariant: saturated appliations of 'FunTyCon' must
-- Invariant: saturated applications of 'FunTyCon' must
-- use 'FunTy' and saturated synonyms must use their own
-- constructors. However, /unsaturated/ 'FunTyCon's
-- do appear as 'TyConApp's.
......
......@@ -49,18 +49,18 @@
# o Build utils/ghc-pkg
# o Build utils/hsc2hs
# * For each package:
# o configure, generate package-data.mk and inplace-pkg-info
# o configure, generate package-data.mk and inplace-pkg-config
# o register each package into inplace/lib/package.conf
# * build libffi (if not disabled by --with-system-libffi)
# * With bootstrapping compiler:
# o Build libraries/{filepath,hpc,Cabal}
# o Build compiler (stage 1)
# * With stage 1:
# * With stage 1 compiler:
# o Build libraries/*
# o Build rts
# o Build utils/* (except haddock)
# o Build compiler (stage 2)
# * With stage 2:
# * With stage 2 compiler:
# o Build utils/haddock
# o Build compiler (stage 3) (optional)
# * With haddock:
......
# This test needs to come before the setTestOpts calls below, as we want
# to run it if !compiler_profiled
# to run it if compiler_profiled.
test('T4255', unless(compiler_profiled(), skip), compile_fail, ['-v0'])
def f(name, opts):
......
......@@ -325,7 +325,7 @@ data PackageArg
-- match a single entry in the package database.
| IPId InstalledPackageId
-- | A glob against the package name. The first string is the literal
-- glob, the second is a function which returns @True@ if the the argument
-- glob, the second is a function which returns @True@ if the argument
-- matches.
| Substring String (String->Bool)
......@@ -2023,5 +2023,7 @@ removeFileSafe fn =
removeFile fn `catchIO` \ e ->
when (not $ isDoesNotExistError e) $ ioError e
-- | Turn a path relative to the current directory into a (normalised)
-- absolute path.
absolutePath :: FilePath -> IO FilePath
absolutePath path = return . normalise . (</> path) =<< getCurrentDirectory
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment