[commit: ghc] master: Some more typos in comments (65920c9)
git at git.haskell.org
git at git.haskell.org
Mon Dec 14 14:10:17 UTC 2015
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/65920c9e6a17094c3a0abbdbed5ab01f8524850e/ghc
>---------------------------------------------------------------
commit 65920c9e6a17094c3a0abbdbed5ab01f8524850e
Author: Gabor Greif <ggreif at gmail.com>
Date: Mon Dec 14 10:43:23 2015 +0100
Some more typos in comments
>---------------------------------------------------------------
65920c9e6a17094c3a0abbdbed5ab01f8524850e
compiler/typecheck/TcSimplify.hs | 4 ++--
rts/Capability.c | 2 +-
testsuite/tests/programs/andy_cherry/DataTypes.hs | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/compiler/typecheck/TcSimplify.hs b/compiler/typecheck/TcSimplify.hs
index 190c6c4..261abd0 100644
--- a/compiler/typecheck/TcSimplify.hs
+++ b/compiler/typecheck/TcSimplify.hs
@@ -425,11 +425,11 @@ tcCheckSatisfiability :: Bag EvVar -> TcM Bool
tcCheckSatisfiability givens
= do { lcl_env <- TcM.getLclEnv
; let given_loc = mkGivenLoc topTcLevel UnkSkol lcl_env
- ; traceTc "checkSatisfiabilty {" (ppr givens)
+ ; traceTc "checkSatisfiability {" (ppr givens)
; (res, _ev_binds) <- runTcS $
do { cts <- solveSimpleGivens given_loc (bagToList givens)
; return (not (isEmptyBag cts)) }
- ; traceTc "checkSatisfiabilty }" (ppr res)
+ ; traceTc "checkSatisfiability }" (ppr res)
; return (not res) }
{-
diff --git a/rts/Capability.c b/rts/Capability.c
index b0b7f30..45ee2c8 100644
--- a/rts/Capability.c
+++ b/rts/Capability.c
@@ -859,7 +859,7 @@ yieldCapability (Capability** pCap, Task *task, rtsBool gcAllowed)
//
// - A bound thread can only be migrated by the holder of the
// Capability on which the bound thread currently lives. So, if we
-// hold Capabilty C, and task->cap == C, then task cannot be
+// hold Capability C, and task->cap == C, then task cannot be
// migrated under our feet.
// Note [migrated bound threads 2]
diff --git a/testsuite/tests/programs/andy_cherry/DataTypes.hs b/testsuite/tests/programs/andy_cherry/DataTypes.hs
index b36de83..bcb6cbc 100644
--- a/testsuite/tests/programs/andy_cherry/DataTypes.hs
+++ b/testsuite/tests/programs/andy_cherry/DataTypes.hs
@@ -508,7 +508,7 @@
data Board
= Board (Array BoardPos BoardSquare)
MoveNumber -- current player & and move
- (Maybe ChessFile) -- e.p. possibilties.
+ (Maybe ChessFile) -- e.p. possibilities.
More information about the ghc-commits
mailing list