summaryrefslogtreecommitdiff
path: root/compiler/coreSyn/CoreUtils.hs
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2018-12-15 12:44:59 +0100
committerGabor Greif <ggreif@gmail.com>2018-12-17 15:07:08 +0100
commitcaf50f631f0216fc11b653b1d0f34e7ca578ec45 (patch)
tree5abd3c388a22e375d211439849a1d136157173a4 /compiler/coreSyn/CoreUtils.hs
parentf99d898ba384b7d3ace7aae71b0125ba645e09cb (diff)
downloadhaskell-caf50f631f0216fc11b653b1d0f34e7ca578ec45.tar.gz
Stomp a few typos and grammaros
Also use 'id'
Diffstat (limited to 'compiler/coreSyn/CoreUtils.hs')
-rw-r--r--compiler/coreSyn/CoreUtils.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/coreSyn/CoreUtils.hs b/compiler/coreSyn/CoreUtils.hs
index 348179d460..9c425e72f0 100644
--- a/compiler/coreSyn/CoreUtils.hs
+++ b/compiler/coreSyn/CoreUtils.hs
@@ -1752,7 +1752,7 @@ Moreover we really might float (f (dataToTag# x)) outside the case,
and then it really, really doesn't obey the let/app invariant.
The solution is simple: exprOkForSpeculation does not try to take
-advantage of the evaluated-ness of (lifted) varaibles. And it returns
+advantage of the evaluated-ness of (lifted) variables. And it returns
False (always) for DataToTagOp and SeqOp.
Note that exprIsHNF /can/ and does take advantage of evaluated-ness;