• Simon Peyton Jones's avatar
    Generate better derived code for Eq · 08af5517
    Simon Peyton Jones authored
    In particular, when there are only a few nullary constructors generate
    regular pattern matching code, rather than using con2Tag.  This avoids
    generating unnecessary join points, which can make the code noticably
    worse in the few-constructors case.
    08af5517
TcGenDeriv.lhs 85.9 KB