summaryrefslogtreecommitdiff
path: root/compiler/simplCore/FloatIn.lhs
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2013-04-23 11:24:12 +0200
committerGabor Greif <ggreif@gmail.com>2013-04-25 22:00:59 +0200
commite83d0dab9981ae6621390d7f9e963eb201780758 (patch)
treea8fcf647ad37e99c2613f8aa44cb5137f228a74a /compiler/simplCore/FloatIn.lhs
parentb1c266c4bd3d6cb53e37850ec3d620563473a1f7 (diff)
downloadhaskell-e83d0dab9981ae6621390d7f9e963eb201780758.tar.gz
Fixed moer tyops
Diffstat (limited to 'compiler/simplCore/FloatIn.lhs')
-rw-r--r--compiler/simplCore/FloatIn.lhs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/simplCore/FloatIn.lhs b/compiler/simplCore/FloatIn.lhs
index 681c183132..0d1c9764c5 100644
--- a/compiler/simplCore/FloatIn.lhs
+++ b/compiler/simplCore/FloatIn.lhs
@@ -256,7 +256,7 @@ course.
Note [extra_fvs (1): avoid floating into RHS]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-Consdider let x=\y....t... in body. We do not necessarily want to float
+Consider let x=\y....t... in body. We do not necessarily want to float
a binding for t into the RHS, because it'll immediately be floated out
again. (It won't go inside the lambda else we risk losing work.)
In letrec, we need to be more careful still. We don't want to transform