• Simon Peyton Jones's avatar
    Refactor HsExpr.MatchGroup · a8941e2a
    Simon Peyton Jones authored
     * Make MatchGroup into a record, and use the record fields
     * Split the type field into two: mg_arg_tys and mg_res_ty
       This makes life much easier for the desugarer when the
       case alterantives are empty
    A little bit of this change unavoidably ended up in the preceding
    commit about empty case alternatives
TcBinds.lhs 57.8 KB