summaryrefslogtreecommitdiff
path: root/testsuite/tests/programs
diff options
context:
space:
mode:
authorBrian Wignall <brianwignall@gmail.com>2020-01-10 10:47:46 -0500
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-01-12 21:30:08 -0500
commit0b5ddc7f2c10ee84631dd6cb5f6368afbc389449 (patch)
treed9a77d5b2c55d75d9ae5b6fa199612315de9d163 /testsuite/tests/programs
parent350e2b78788d47255d27489dfc62d664498b5de4 (diff)
downloadhaskell-0b5ddc7f2c10ee84631dd6cb5f6368afbc389449.tar.gz
Fix more typos, via an improved Levenshtein-style corrector
Diffstat (limited to 'testsuite/tests/programs')
-rw-r--r--testsuite/tests/programs/andy_cherry/andy_cherry.stdout4
-rw-r--r--testsuite/tests/programs/andy_cherry/mygames.pgn4
-rw-r--r--testsuite/tests/programs/joao-circular/Visfun_Lazy.hs4
3 files changed, 6 insertions, 6 deletions
diff --git a/testsuite/tests/programs/andy_cherry/andy_cherry.stdout b/testsuite/tests/programs/andy_cherry/andy_cherry.stdout
index 743174dce8..6ae5da0611 100644
--- a/testsuite/tests/programs/andy_cherry/andy_cherry.stdout
+++ b/testsuite/tests/programs/andy_cherry/andy_cherry.stdout
@@ -77,7 +77,7 @@ Taking this knight loses a pawn
\end{tabular}}|
\end{center}
|9\ldots~Bc5; 10.~f3, e*f3; 11.~g*f3, 0-0; 12.~Bd3|
-White can get presure down the `g' file, but first needs to solve the
+White can get pressure down the `g' file, but first needs to solve the
problem of the Bishop on c5 guarding g8.
\begin{center}|
{\bf\begin{tabular}{rp{50pt}p{50pt}}
@@ -1936,7 +1936,7 @@ rooks that arrive on the 7th.
24 & Rf*f7 & Rd8\\
\end{tabular}}|
\end{center}
-Silly, blocking the kings escape, athough its over anyway. I should
+Silly, blocking the kings escape, although its over anyway. I should
have tried for at least one cheapo.
|24\ldots~Re5|
\begin{center}|
diff --git a/testsuite/tests/programs/andy_cherry/mygames.pgn b/testsuite/tests/programs/andy_cherry/mygames.pgn
index 9a338cf05e..bb88aa6597 100644
--- a/testsuite/tests/programs/andy_cherry/mygames.pgn
+++ b/testsuite/tests/programs/andy_cherry/mygames.pgn
@@ -14,7 +14,7 @@
4. Bf4 {is better.}) 4... e6? (4... dxe4 5. d5 exf3 6. dxc6 Qxd1+ 7.
Nxd1 {and black is a clear pawn up.}) 5. e5 Ne4 {} 6. Nxe4? { Taking
this knight loses a pawn} 6... dxe4 7. Nd2 Qxd4 8. Nc4 Qxd1+ 9. Kxd1
-Bd7 (9... Bc5 10. f3 exf3 11. gxf3 O-O 12. Bd3 {White can get presure
+Bd7 (9... Bc5 10. f3 exf3 11. gxf3 O-O 12. Bd3 {White can get pressure
down the `g' file, but first needs to solve the problem of the Bishop on
c5 guarding g8.}) 10. Bd2 (10. Be3 {is better.}) 10... Bb4 11. c3 Bc5 12.
Ke1 O-O-O (12... b5 13. Ne3 Bxe3 14. Bxe3 Nxe5 {wins a pawn, but black
@@ -284,7 +284,7 @@ kingside, and allowing exchange of queens.} (13... Bd8) 14. Nxf6+ Qxf6
Planning an invasion of the 7th. Textbook play.} 22... Rd8 { Planing to
remove the dangerous white pawn, but missing the connected rooks that
arrive on the 7th.} 23. Rxc7 Rxd5 24. Rfxf7 Rd8 {Silly, blocking the
-kings escape, athough its over anyway. I should have tried for at least
+kings escape, although its over anyway. I should have tried for at least
one cheapo.} (24... Re5) 25. Rxh7 Rf8 {?? Again just missing the action.}
26. Rcg7# 1-0
diff --git a/testsuite/tests/programs/joao-circular/Visfun_Lazy.hs b/testsuite/tests/programs/joao-circular/Visfun_Lazy.hs
index e4055350a1..cfb04e6918 100644
--- a/testsuite/tests/programs/joao-circular/Visfun_Lazy.hs
+++ b/testsuite/tests/programs/joao-circular/Visfun_Lazy.hs
@@ -861,11 +861,11 @@ visit_PPSArgs :: PPSArgs -> [T_Frame] -> (T_Errs, T_Fmts, Integer, T_Mins)
-- This function's most general type is
-- visit_PPSArgs :: forall a. (Integral a, Show a)
-- => PPSArgs -> [T_Frame] -> (T_Errs, T_Fmts, a, T_Mins)
--- But in the same mutually recusive group is visit_PPS whose type becomes
+-- But in the same mutually recursive group is visit_PPS whose type becomes
-- visit_PPS :: forall a. (Integral a, Show a)
-- => PPS -> T_Frame -> (Bool, T_Formats, INT, INT, INT)
-- which GHC now (rightfully) rejects that as ambiguous, even though
--- acutally default resolution will allow it at call sites,
+-- actually default resolution will allow it at call sites,
-- So I've added a type signature
-- SLPJ July 2012