From: Matthijs Kooijman Date: Tue, 23 Jun 2009 12:24:26 +0000 (+0200) Subject: Do not apply eta expansion to application arguments. X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;ds=sidebyside;h=757befa0b3e9765ad3eca2990df8a790e187326c;hp=757befa0b3e9765ad3eca2990df8a790e187326c;p=matthijs%2Fmaster-project%2Fc%CE%BBash.git Do not apply eta expansion to application arguments. Doing this can introduce expressions such as: map (\x -> foo x) xs which is of course not really what we want. By limiting eta expansion in this way, we'll still get it where we really want it: At the top level. ---