Eta expand only lambdas that bind a non-dictionary Id
authorsimonpj@microsoft.com <unknown>
Fri, 24 Sep 2010 15:57:07 +0000 (15:57 +0000)
committersimonpj@microsoft.com <unknown>
Fri, 24 Sep 2010 15:57:07 +0000 (15:57 +0000)
commita06cc26192b0df5726e7ae201e94379c734423fc
tree68c94a68b375cae05598a496156bb455c9628143
parentfb333806ecca4aaff8e217b2c6e492e077ec87fa
Eta expand only lambdas that bind a non-dictionary Id

See Note [When to eta expand]. The idea is that dictionary
lambdas are invisible to the user, so we shouldn't eta
expand them.
compiler/simplCore/SimplUtils.lhs