Skip to content
  • Simon Peyton Jones's avatar
    Improve the very simple optimiser slightly · 5eeefe4c
    Simon Peyton Jones authored and Marge Bot's avatar Marge Bot committed
    There was a missing case in the very simple optimiser,
    CoreOpt.simpleOptExpr, which led to Trac #13208 comment:2.
    
    In particular, in simple_app, if we find a Let, we should
    just float it outwards. Otherwise we leave behind some
    easy-to-reduce beta-redexes.
    5eeefe4c