case-eta-expansion

Simon Peyton-Jones simonpj@microsoft.com
Mon, 21 Jul 2003 08:53:54 +0100


Not quite sure what you mean by "case eta expansion".

Eta expansion is certainly still done, but only on 'let'
right-hand-sides, by SimplUtils.tryEtaExpansion.

Simon

| -----Original Message-----
| From: glasgow-haskell-users-admin@haskell.org
[mailto:glasgow-haskell-users-admin@haskell.org]
| On Behalf Of David Sabel
| Sent: 18 July 2003 14:02
| To: glasgow-haskell-users@haskell.org
| Subject: case-eta-expansion
|=20
| Hi,
|=20
| Can someone tell me, where exactly (in the code of ghc5.04.3)
| the case-eta-expansion is performed, I searched
| the modules of the simplifier, but didn't find this transformation.
|=20
| Or is it no longer performed in ghc5.04.3?
|=20
| Thanks,
|=20
|  David
|=20
|=20
| _______________________________________________
| Glasgow-haskell-users mailing list
| Glasgow-haskell-users@haskell.org
| http://www.haskell.org/mailman/listinfo/glasgow-haskell-users