Call Arity: Never eta-expand thunks in recursive groups

Authored by nomeata on Mar 14 2014, 12:25 PM.

Description

Call Arity: Never eta-expand thunks in recursive groups

Even if the recursion is a nice tail-call only recusion, we'd stil be
calling the thunk multiple times and eta-expansion would be wrong.
Includes a [Note].

(Also shows the disadvantage of unit tests: They had the same bug.)

Details

Committed
nomeataMar 14 2014, 12:26 PM
Pushed
bgamariAug 25 2016, 1:39 PM
Parents
rGHCDIFFde32a95ef219: Add test case for #8776
Branches
Unknown
Tags
Unknown