summaryrefslogtreecommitdiff
path: root/compiler/coreSyn
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2017-07-20 10:46:14 +0200
committerGabor Greif <ggreif@gmail.com>2017-07-20 10:47:47 +0200
commita273c735ca268988ee1550c248ba88b57a227cb9 (patch)
tree29cc527b94f2f6efcf4343659ba7234fec0a1dd2 /compiler/coreSyn
parentcc839c57ff9c80b50d39e8e2e66a18674bab3486 (diff)
downloadhaskell-a273c735ca268988ee1550c248ba88b57a227cb9.tar.gz
Spelling fixes
Diffstat (limited to 'compiler/coreSyn')
-rw-r--r--compiler/coreSyn/CoreSyn.hs2
-rw-r--r--compiler/coreSyn/CoreUnfold.hs2
-rw-r--r--compiler/coreSyn/CoreUtils.hs2
3 files changed, 3 insertions, 3 deletions
diff --git a/compiler/coreSyn/CoreSyn.hs b/compiler/coreSyn/CoreSyn.hs
index 13cf8ae5fb..99478d2b66 100644
--- a/compiler/coreSyn/CoreSyn.hs
+++ b/compiler/coreSyn/CoreSyn.hs
@@ -1652,7 +1652,7 @@ In unfoldings and rules, we guarantee that the template is occ-analysed,
so that the occurrence info on the binders is correct. This is important,
because the Simplifier does not re-analyse the template when using it. If
the occurrence info is wrong
- - We may get more simpifier iterations than necessary, because
+ - We may get more simplifier iterations than necessary, because
once-occ info isn't there
- More seriously, we may get an infinite loop if there's a Rec
without a loop breaker marked
diff --git a/compiler/coreSyn/CoreUnfold.hs b/compiler/coreSyn/CoreUnfold.hs
index cedc78fcfa..a104cd693f 100644
--- a/compiler/coreSyn/CoreUnfold.hs
+++ b/compiler/coreSyn/CoreUnfold.hs
@@ -649,7 +649,7 @@ sizeExpr dflags bOMB_OUT_SIZE top_args expr
-- Don't charge for args, so that wrappers look cheap
-- (See comments about wrappers with Case)
--
- -- IMPORATANT: *do* charge 1 for the alternative, else we
+ -- IMPORTANT: *do* charge 1 for the alternative, else we
-- find that giant case nests are treated as practically free
-- A good example is Foreign.C.Error.errnoToIOError
diff --git a/compiler/coreSyn/CoreUtils.hs b/compiler/coreSyn/CoreUtils.hs
index b8399237da..eec524f86d 100644
--- a/compiler/coreSyn/CoreUtils.hs
+++ b/compiler/coreSyn/CoreUtils.hs
@@ -713,7 +713,7 @@ This gave rise to a horrible sequence of cases
and similarly in cascade for all the join points!
NB: it's important that all this is done in [InAlt], *before* we work
-on the alternatives themselves, because Simpify.simplAlt may zap the
+on the alternatives themselves, because Simplify.simplAlt may zap the
occurrence info on the binders in the alternatives, which in turn
defeats combineIdenticalAlts (see Trac #7360).