summaryrefslogtreecommitdiff
path: root/ghc
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2017-03-28 11:59:48 +0200
committerGabor Greif <ggreif@gmail.com>2017-03-28 12:18:43 +0200
commit08a6fc69ce1617bb997cb02584a961ac29a266eb (patch)
tree9a387c89f3e547b6975f8cda1a0e59098a6d4cae /ghc
parenteb6ccb7cd8751cd027ee9913e47f1371bfa62289 (diff)
downloadhaskell-08a6fc69ce1617bb997cb02584a961ac29a266eb.tar.gz
Spelling in comments only [ci skip]
Diffstat (limited to 'ghc')
-rw-r--r--ghc/GHCi/UI.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ghc/GHCi/UI.hs b/ghc/GHCi/UI.hs
index b2b54d339e..f684bf7e6f 100644
--- a/ghc/GHCi/UI.hs
+++ b/ghc/GHCi/UI.hs
@@ -920,7 +920,7 @@ runCommands' eh sourceErrorHandler gCmd = gmask $ \unmask -> do
-- A result of Nothing means there was no more input to process.
-- Otherwise the result is Just b where b is True if the command succeeded;
-- this is relevant only to ghc -e, which will exit with status 1
--- if the commmand was unsuccessful. GHCi will continue in either case.
+-- if the command was unsuccessful. GHCi will continue in either case.
runOneCommand :: (SomeException -> GHCi Bool) -> InputT GHCi (Maybe String)
-> InputT GHCi (Maybe Bool)
runOneCommand eh gCmd = do