[commit: ghc] master: Trailing whitespaces (b0545d8)
git at git.haskell.org
git at git.haskell.org
Fri Oct 18 17:21:29 UTC 2013
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/b0545d81d2c838629498e84e144010870eaf2dfc/ghc
>---------------------------------------------------------------
commit b0545d81d2c838629498e84e144010870eaf2dfc
Author: Jan Stolarek <jan.stolarek at p.lodz.pl>
Date: Thu Oct 17 15:53:17 2013 +0200
Trailing whitespaces
>---------------------------------------------------------------
b0545d81d2c838629498e84e144010870eaf2dfc
compiler/simplCore/Simplify.lhs | 1 +
1 file changed, 1 insertion(+)
diff --git a/compiler/simplCore/Simplify.lhs b/compiler/simplCore/Simplify.lhs
index 2c1b01b..d75694a 100644
--- a/compiler/simplCore/Simplify.lhs
+++ b/compiler/simplCore/Simplify.lhs
@@ -2666,6 +2666,7 @@ e.g. f E [..hole..]
But this is terrible! Here's an example:
&& E (case x of { T -> F; F -> T })
Now, && is strict so we end up simplifying the case with
+
an ArgOf continuation. If we let-bind it, we get
let $j = \v -> && E v
in simplExpr (case x of { T -> F; F -> T })
More information about the ghc-commits
mailing list