summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavran Cheng <Javran.c@gmail.com>2015-04-06 13:36:21 +0200
committerThomas Miedema <thomasmiedema@gmail.com>2015-04-06 13:37:20 +0200
commit72092904e0ac1725c05c0447e1efe7ab541faa95 (patch)
treef085c3544df42033df86acd862b21762cadff650
parent22eecaff9db1feb7eef9ee8ed11fcef4df01b08e (diff)
downloadhaskell-72092904e0ac1725c05c0447e1efe7ab541faa95.tar.gz
fix typo
[skip ci] Differential Revision: https://phabricator.haskell.org/D812
-rw-r--r--compiler/main/DriverPipeline.hs2
-rw-r--r--ghc/GhciMonad.hs2
-rw-r--r--libraries/base/GHC/Base.hs2
3 files changed, 3 insertions, 3 deletions
diff --git a/compiler/main/DriverPipeline.hs b/compiler/main/DriverPipeline.hs
index 498b2f0921..c86667cf6e 100644
--- a/compiler/main/DriverPipeline.hs
+++ b/compiler/main/DriverPipeline.hs
@@ -1730,7 +1730,7 @@ getLinkInfo dflags dep_packages = do
--
return (show link_info)
--- generates a Perl skript starting a parallel prg under PVM
+-- generates a Perl script starting a parallel prg under PVM
mk_pvm_wrapper_script :: String -> String -> String -> String
mk_pvm_wrapper_script pvm_executable pvm_executable_base sysMan = unlines $
[
diff --git a/ghc/GhciMonad.hs b/ghc/GhciMonad.hs
index 19b900995a..cf82161bff 100644
--- a/ghc/GhciMonad.hs
+++ b/ghc/GhciMonad.hs
@@ -85,7 +85,7 @@ data GHCiState = GHCiState
-- available ghci commands
ghci_commands :: [Command],
-- ":" at the GHCi prompt repeats the last command, so we
- -- remember is here:
+ -- remember it here:
last_command :: Maybe Command,
cmdqueue :: [String],
diff --git a/libraries/base/GHC/Base.hs b/libraries/base/GHC/Base.hs
index d9192d7a99..79942d827d 100644
--- a/libraries/base/GHC/Base.hs
+++ b/libraries/base/GHC/Base.hs
@@ -134,7 +134,7 @@ The Integer type is special because TidyPgm uses
GHC.Integer.Type.mkInteger to construct Integer literal values
Currently it reads the interface file whether or not the current
module *has* any Integer literals, so it's important that
-GHC.Integer.Type (in patckage integer-gmp or integer-simple) is
+GHC.Integer.Type (in package integer-gmp or integer-simple) is
compiled before any other module. (There's a hack in GHC to disable
this for packages ghc-prim, integer-gmp, integer-simple, which aren't
allowed to contain any Integer literals.)