summaryrefslogtreecommitdiff
path: root/compiler/simplStg
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2017-04-06 15:13:55 +0200
committerGabor Greif <ggreif@gmail.com>2017-04-11 18:51:23 +0200
commitfc2a96a1ea9cceba596cbd652b44bd830a4191e4 (patch)
treeeef5f094301bd5c25710adc343b36eaf4df5e0bc /compiler/simplStg
parente662a6cb9fb6459e0a15abbff25ae7b80f91b281 (diff)
downloadhaskell-fc2a96a1ea9cceba596cbd652b44bd830a4191e4.tar.gz
Typos in comments [ci skip]
Diffstat (limited to 'compiler/simplStg')
-rw-r--r--compiler/simplStg/StgCse.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/simplStg/StgCse.hs b/compiler/simplStg/StgCse.hs
index c0063814d7..1ee6a9a150 100644
--- a/compiler/simplStg/StgCse.hs
+++ b/compiler/simplStg/StgCse.hs
@@ -392,7 +392,7 @@ mkStgLet stgLet (Just binds) body = stgLet binds body
{-
Note [Trivial case scrutinee]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-We wnat to be able to handle nested reconstruction of constructors as in
+We want to be able to handle nested reconstruction of constructors as in
nested :: Either Int (Either Int a) -> Either Bool (Either Bool a)
nested (Right (Right v)) = Right (Right v)