Make eta reduction check more carefully for bottoms (fix Trac #1947)
Eta reduction was wrongly transforming f = \x. f x to f = f Solution: don't trust f's arity information; instead look at its unfolding. See Note [Eta reduction conditions] Almost all the new lines are comments!
Please register or sign in to comment