summaryrefslogtreecommitdiff
path: root/compiler/simplCore/CSE.hs
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2017-12-21 18:36:21 +0100
committerGabor Greif <ggreif@gmail.com>2017-12-21 18:36:21 +0100
commitbcb519c5f81497bab42304db9ef956d51548479b (patch)
tree48bf5d91ec7160c643e3da6135e6df266474023b /compiler/simplCore/CSE.hs
parentf5cf9d1a1b198edc929e1fa96c6d841d182fe766 (diff)
downloadhaskell-bcb519c5f81497bab42304db9ef956d51548479b.tar.gz
Typos in comments
Diffstat (limited to 'compiler/simplCore/CSE.hs')
-rw-r--r--compiler/simplCore/CSE.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/simplCore/CSE.hs b/compiler/simplCore/CSE.hs
index 085ca3c3ae..919f61a67e 100644
--- a/compiler/simplCore/CSE.hs
+++ b/compiler/simplCore/CSE.hs
@@ -544,7 +544,7 @@ to transform
W y z -> e2
In the simplifier we use cheapEqExpr, because it is called a lot.
-But here in CSE we use the full eqExpr. After all, two alterantives usually
+But here in CSE we use the full eqExpr. After all, two alternatives usually
differ near the root, so it probably isn't expensive to compare the full
alternative. It seems like the same kind of thing that CSE is supposed
to be doing, which is why I put it here.