projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
87e82c1
)
Make eta reduction check more carefully for bottoms (fix Trac #1947)
author
simonpj@microsoft.com
<unknown>
Tue, 4 Dec 2007 14:58:03 +0000
(14:58 +0000)
committer
simonpj@microsoft.com
<unknown>
Tue, 4 Dec 2007 14:58:03 +0000
(14:58 +0000)
Eta reduction was wrongly transforming
f = \x. f x
to
f = f
Solution: don't trust f's arity information; instead look at its
unfolding. See Note [Eta reduction conditions]
Almost all the new lines are comments!
No differences found