Skip to content
  • Simon Peyton Jones's avatar
    Eta-reduce data/newtype family instance axioms (Trac #4185) · 827cc509
    Simon Peyton Jones authored
    This long-overdue fix arranges to eta-reduce the axiom for a
    data/newtype instance in the same way that we have longq
    eta-reduced the axiom for a newtype.
    
    See Note [Eta reduction for data family axioms] in TcInstDcls
    and Note [Deriving, type families, and partial applications] in TcDeriv.
    827cc509