• Simon Peyton Jones's avatar
    Improve SimplUtils.interestingArg · 6ec236b5
    Simon Peyton Jones authored
    There were two problems here:
     - We were looking under a lambda without extending
       the in-scope env, which triggered a WARNING
       But there's no need to look under a lambda.
    
     - We were looking under a letrec without extending
       the in-scope env, which triggered the same WARNING
       Solution: extend the in-scope env
    6ec236b5
SimplUtils.hs 78 KB