projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08c4504
)
[project @ 2003-01-09 16:15:30 by simonpj]
author
simonpj
<unknown>
Thu, 9 Jan 2003 16:15:30 +0000
(16:15 +0000)
committer
simonpj
<unknown>
Thu, 9 Jan 2003 16:15:30 +0000
(16:15 +0000)
Layout wibble
ghc/compiler/coreSyn/CorePrep.lhs
patch
|
blob
|
history
diff --git
a/ghc/compiler/coreSyn/CorePrep.lhs
b/ghc/compiler/coreSyn/CorePrep.lhs
index
e55bca8
..
1565e55
100644
(file)
--- a/
ghc/compiler/coreSyn/CorePrep.lhs
+++ b/
ghc/compiler/coreSyn/CorePrep.lhs
@@
-626,7
+626,7
@@
tryEta bndrs expr@(App _ _)
n_remaining = length args - length bndrs
ok bndr (Var arg) = bndr == arg
- ok bndr other = False
+ ok bndr other = False
-- we can't eta reduce something which must be saturated.
ok_to_eta_reduce (Var f) = not (hasNoBinding f)