ghc icon indicating copy to clipboard operation
ghc copied to clipboard

Efficient test of multiplicity-preservingness of η-reduction

Open aspiwack opened this issue 7 years ago • 0 comments

In the function performing η-reduction, in Core, we implemented a very naive check that η-reduction does not change unrestricted arrows to linear arrows, which would break typing.

We ought to come up with a more efficient way to perform this test.

aspiwack avatar May 04 '18 08:05 aspiwack