Skip to content
  • Simon Peyton Jones's avatar
    Eta expand partial applications · 0971055c
    Simon Peyton Jones authored
    When we have
         x = \v -> map g
    we want to eta-expand to
         x = \v y -> map g y
    
    We weren't doing so, and that led to worse code and,
    perhaps, #5285.  I need to check the latter, but I
    was certainly seeing one similar error.  Anyway
    this looks like a definite improvement
    0971055c