summaryrefslogtreecommitdiff
path: root/compiler/simplStg
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2017-05-02 13:25:33 +0200
committerGabor Greif <ggreif@gmail.com>2017-05-02 13:25:33 +0200
commitb1aede61350a9c0a33c6d034de93a249c000a84c (patch)
treec7874d58ece44b4ef67ae091ed639370f5c71be8 /compiler/simplStg
parent9e47dc451788cce20acb6a8208c56a7e4dbe246b (diff)
downloadhaskell-b1aede61350a9c0a33c6d034de93a249c000a84c.tar.gz
Typos in manual and comments
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 ec4b188aae..6bd6adc7ec 100644
--- a/compiler/simplStg/StgCse.hs
+++ b/compiler/simplStg/StgCse.hs
@@ -26,7 +26,7 @@ which produces this Core:
bar :: forall a. a -> (Either Int a, Either Bool a)
bar @a x = (Right @Int @a x, Right @Bool @a x)
-where the two components of the tuple are differnt terms, and cannot be
+where the two components of the tuple are different terms, and cannot be
commoned up (easily). On the STG level we have
bar [x] = let c1 = Right [x]