Skip to content
  • Simon Peyton Jones's avatar
    Be lazier when typechecking data type contexts (Trac #7321) · beb2f743
    Simon Peyton Jones authored
    We should be lazy when type-checking the equality-contraint
    part of a data constructor's type, to make the knot-tying
    work out right.  The fact that it's always worked before
    is a fluke: no one else wrote a GADT whose type index mentions
    itself
      data T a wher
        MkT :: T (T Int)
    beb2f743