summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2016-11-18 10:57:46 +0100
committerGabor Greif <ggreif@gmail.com>2016-11-18 10:59:33 +0100
commitd328abc84962dbe16763e6e82418c5bb7a2b8628 (patch)
treef83b41dc59f386871ee307296a7bd41106b208de
parent94d1221cfb31188990738e7f7cbb3ae0a30c9f98 (diff)
downloadhaskell-d328abc84962dbe16763e6e82418c5bb7a2b8628.tar.gz
Spelling in comment only
-rw-r--r--compiler/typecheck/TcRnTypes.hs2
-rw-r--r--compiler/vectorise/Vectorise.hs2
-rw-r--r--rts/Schedule.c2
-rw-r--r--rts/linker/M32Alloc.c4
-rw-r--r--rts/posix/Signals.c2
5 files changed, 6 insertions, 6 deletions
diff --git a/compiler/typecheck/TcRnTypes.hs b/compiler/typecheck/TcRnTypes.hs
index 02c9c09415..ce541c3f54 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 70ea2e42b9..49bfeda445 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 7d5654fd03..41c68bec43 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 73f9be9cc8..c5c36231c6 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 d73143bd31..97439c5120 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.