[commit: ghc] master: Spelling in comment only (d328abc)

git at git.haskell.org git at git.haskell.org
Fri Nov 18 10:16:35 UTC 2016


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/d328abc84962dbe16763e6e82418c5bb7a2b8628/ghc

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

commit d328abc84962dbe16763e6e82418c5bb7a2b8628
Author: Gabor Greif <ggreif at gmail.com>
Date:   Fri Nov 18 10:57:46 2016 +0100

    Spelling in comment only


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

d328abc84962dbe16763e6e82418c5bb7a2b8628
 compiler/typecheck/TcRnTypes.hs | 2 +-
 compiler/vectorise/Vectorise.hs | 2 +-
 rts/Schedule.c                  | 2 +-
 rts/linker/M32Alloc.c           | 4 ++--
 rts/posix/Signals.c             | 2 +-
 5 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/compiler/typecheck/TcRnTypes.hs b/compiler/typecheck/TcRnTypes.hs
index 02c9c09..ce541c3 100644
--- a/compiler/typecheck/TcRnTypes.hs
+++ b/compiler/typecheck/TcRnTypes.hs
@@ -1177,7 +1177,7 @@ data ImportAvails
           --      = ModuleEnv [ImportedModsVal],
           -- ^ Domain is all directly-imported modules
           --
-          -- See the documentaion on ImportedModsVal in HscTypes for the
+          -- See the documentation on ImportedModsVal in HscTypes for the
           -- meaning of the fields.
           --
           -- We need a full ModuleEnv rather than a ModuleNameEnv here,
diff --git a/compiler/vectorise/Vectorise.hs b/compiler/vectorise/Vectorise.hs
index 70ea2e4..49bfeda 100644
--- a/compiler/vectorise/Vectorise.hs
+++ b/compiler/vectorise/Vectorise.hs
@@ -70,7 +70,7 @@ vectModule guts@(ModGuts { mg_tcs        = tycons
             cls_vect_decls = [vd | vd@(VectClass _)    <- vect_decls]
 
           -- Vectorise the type environment.  This will add vectorised
-          -- type constructors, their representaions, and the
+          -- type constructors, their representations, and the
           -- conrresponding data constructors.  Moreover, we produce
           -- bindings for dfuns and family instances of the classes
           -- and type families used in the DPH library to represent
diff --git a/rts/Schedule.c b/rts/Schedule.c
index 7d5654f..41c68be 100644
--- a/rts/Schedule.c
+++ b/rts/Schedule.c
@@ -2817,7 +2817,7 @@ raiseExceptionHelper (StgRegTable *reg, StgTSO *tso, StgClosure *exception)
     //
     // This closure represents the expression 'raise# E' where E
     // is the exception raise.  It is used to overwrite all the
-    // thunks which are currently under evaluataion.
+    // thunks which are currently under evaluation.
     //
 
     // OLD COMMENT (we don't have MIN_UPD_SIZE now):
diff --git a/rts/linker/M32Alloc.c b/rts/linker/M32Alloc.c
index 73f9be9..c5c3623 100644
--- a/rts/linker/M32Alloc.c
+++ b/rts/linker/M32Alloc.c
@@ -22,10 +22,10 @@ Note [Compile Time Trickery]
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
 This file implements two versions of each of the `m32_*` functions. At the top
-of the file there is the real implementaion (compiled in when
+of the file there is the real implementation (compiled in when
 `RTS_LINKER_USE_MMAP` is true) and a dummy implementation that exists only to
 satisfy the compiler and which hould never be called. If any of these dummy
-implementaions are called the program will abort.
+implementations are called the program will abort.
 
 The rationale for this is to allow the calling code to be written without using
 the C pre-processor (CPP) `#if` hackery. The value of `RTS_LINKER_USE_MMAP` is
diff --git a/rts/posix/Signals.c b/rts/posix/Signals.c
index d73143b..97439c5 100644
--- a/rts/posix/Signals.c
+++ b/rts/posix/Signals.c
@@ -561,7 +561,7 @@ empty_handler (int sig STG_UNUSED)
 
    When a process is suspeended with ^Z and resumed again, the shell
    makes no attempt to save and restore the terminal settings.  So on
-   resume, any terminal setting modificaions we made (e.g. turning off
+   resume, any terminal setting modifications we made (e.g. turning off
    ICANON due to hSetBuffering NoBuffering) may well be lost.  Hence,
    we arrange to save and restore the terminal settings ourselves.
 



More information about the ghc-commits mailing list