diff options
-rw-r--r-- | compiler/typecheck/TcRnTypes.hs | 2 | ||||
-rw-r--r-- | compiler/vectorise/Vectorise.hs | 2 | ||||
-rw-r--r-- | rts/Schedule.c | 2 | ||||
-rw-r--r-- | rts/linker/M32Alloc.c | 4 | ||||
-rw-r--r-- | 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 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. |