summaryrefslogtreecommitdiff
path: root/compiler/codeGen
diff options
context:
space:
mode:
authorJoachim Breitner <mail@joachim-breitner.de>2014-02-11 10:42:50 +0000
committerJoachim Breitner <mail@joachim-breitner.de>2014-02-11 15:36:25 +0000
commita27b2985511800fa3b740fef82ad3da9c8683302 (patch)
treeae2e0594e23d90ca682e3674e66f2fe837f62620 /compiler/codeGen
parent377672ae068f6dbfa0354dfab95f41bdd26b0df4 (diff)
downloadhaskell-a27b2985511800fa3b740fef82ad3da9c8683302.tar.gz
Use exprIsLambda_maybe in match
when matching a lambda in the template against an expression. When matching, look through coercions (only for value lambdas for now), and look through currently active unfoldings, if these are undersaturated, i.e. produce a lambda. This replaces the existing, somewhat fishy eta-expansion.
Diffstat (limited to 'compiler/codeGen')
0 files changed, 0 insertions, 0 deletions