summaryrefslogtreecommitdiff
path: root/compiler/main
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/main')
-rw-r--r--compiler/main/Ar.hs2
-rw-r--r--compiler/main/DriverMkDepend.hs2
-rw-r--r--compiler/main/GHC.hs2
-rw-r--r--compiler/main/HscTypes.hs2
-rw-r--r--compiler/main/PprTyThing.hs2
5 files changed, 5 insertions, 5 deletions
diff --git a/compiler/main/Ar.hs b/compiler/main/Ar.hs
index 73292d0ae3..1a1862a6fe 100644
--- a/compiler/main/Ar.hs
+++ b/compiler/main/Ar.hs
@@ -13,7 +13,7 @@ the same name.)
As Archives are rather simple structurally, we can just build the archives
with Haskell directly and use ranlib on the final result to get the symbol
index. This should allow us to work around with the differences/abailability
-of libtool across differet platforms.
+of libtool across different platforms.
-}
module Ar
(ArchiveEntry(..)
diff --git a/compiler/main/DriverMkDepend.hs b/compiler/main/DriverMkDepend.hs
index 6368d8c785..04b438c018 100644
--- a/compiler/main/DriverMkDepend.hs
+++ b/compiler/main/DriverMkDepend.hs
@@ -383,7 +383,7 @@ pprCycle summaries = pp_group (CyclicSCC summaries)
pp_group (CyclicSCC mss)
= ASSERT( not (null boot_only) )
-- The boot-only list must be non-empty, else there would
- -- be an infinite chain of non-boot imoprts, and we've
+ -- be an infinite chain of non-boot imports, and we've
-- already checked for that in processModDeps
pp_ms loop_breaker $$ vcat (map pp_group groups)
where
diff --git a/compiler/main/GHC.hs b/compiler/main/GHC.hs
index def7065ab6..140c8904e2 100644
--- a/compiler/main/GHC.hs
+++ b/compiler/main/GHC.hs
@@ -638,7 +638,7 @@ setProgramDynFlags_ invalidate_needed dflags = do
-- that the next downsweep will think that all the files have changed
-- and preprocess them again. This won't necessarily cause everything
-- to be recompiled, because by the time we check whether we need to
--- recopmile a module, we'll have re-summarised the module and have a
+-- recompile a module, we'll have re-summarised the module and have a
-- correct ModSummary.
--
invalidateModSummaryCache :: GhcMonad m => m ()
diff --git a/compiler/main/HscTypes.hs b/compiler/main/HscTypes.hs
index d1e0603088..4a848864f8 100644
--- a/compiler/main/HscTypes.hs
+++ b/compiler/main/HscTypes.hs
@@ -1651,7 +1651,7 @@ It's exactly the same for type-family instances. See #7102
data InteractiveContext
= InteractiveContext {
ic_dflags :: DynFlags,
- -- ^ The 'DynFlags' used to evaluate interative expressions
+ -- ^ The 'DynFlags' used to evaluate interactive expressions
-- and statements.
ic_mod_index :: Int,
diff --git a/compiler/main/PprTyThing.hs b/compiler/main/PprTyThing.hs
index 4e49b6c661..b918943c8e 100644
--- a/compiler/main/PprTyThing.hs
+++ b/compiler/main/PprTyThing.hs
@@ -38,7 +38,7 @@ import Outputable
{- Note [Pretty printing via IfaceSyn]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-Our general plan for prett-printing
+Our general plan for pretty-printing
- Types
- TyCons
- Classes