Allow eta-reduction of eval'd functions if of arity 1
authorSimon Peyton Jones <simonpj@microsoft.com>
Tue, 22 Jan 2013 22:43:22 +0000 (22:43 +0000)
committerSimon Peyton Jones <simonpj@microsoft.com>
Tue, 22 Jan 2013 22:43:22 +0000 (22:43 +0000)
commit7a1480c7c590d4d2fa7a105a4eebf299e921e056
tree345f827e510167fec37ae24b6c8e0ec8531bf55e
parentc94528a696126c6502ea9ccfe143a7fabd97662b
Allow eta-reduction of eval'd functions if of arity 1

See Note [Eta reduction of an eval'd function] in CoreUtils.
This doesn't fix Trac #7542, but that was the ticket that
pointed out this infelicity.
compiler/coreSyn/CoreUtils.lhs