diff options
author | Simon Peyton Jones <simonpj@microsoft.com> | 2021-05-29 22:49:34 +0100 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2022-05-30 13:44:14 -0400 |
commit | 2f215b9fcd7c14023464b52c0ca572a5ad09518d (patch) | |
tree | 6c57587b1755a4b8aae2a753aec24b33a0192a44 /compiler/GHC/Core/Opt | |
parent | f2e707077bfef6ca5f9cb1a1b2bfaa14c0637c40 (diff) | |
download | haskell-2f215b9fcd7c14023464b52c0ca572a5ad09518d.tar.gz |
Eta reduction with casted function
We want to be able to eta-reduce
\x y. ((f x) |> co) y
by pushing 'co' inwards. A very small change accommodates this
See Note [Eta reduction with casted function]
Diffstat (limited to 'compiler/GHC/Core/Opt')
0 files changed, 0 insertions, 0 deletions