Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master
http://hackage.haskell.org/trac/ghc/changeset/a8941e2a4fe3b000e6c085701e0c015c5316c6ee >--------------------------------------------------------------- commit a8941e2a4fe3b000e6c085701e0c015c5316c6ee Author: Simon Peyton Jones <simo...@microsoft.com> Date: Fri Jan 4 10:30:14 2013 +0000 Refactor HsExpr.MatchGroup * 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 compiler/deSugar/Coverage.lhs | 12 ++++++------ compiler/deSugar/DsArrows.lhs | 13 ++++++------- compiler/deSugar/DsExpr.lhs | 8 ++++---- compiler/deSugar/DsGRHSs.lhs | 14 +++++++------- compiler/deSugar/DsMeta.hs | 10 +++++----- compiler/hsSyn/HsExpr.lhs | 28 +++++++++++++--------------- compiler/hsSyn/HsUtils.lhs | 2 +- compiler/parser/RdrHsSyn.lhs | 8 ++++---- compiler/rename/RnBinds.lhs | 4 ++-- compiler/rename/RnExpr.lhs | 2 +- compiler/rename/RnTypes.lhs | 2 +- compiler/typecheck/TcArrows.lhs | 9 ++++++--- compiler/typecheck/TcBinds.lhs | 4 ++-- compiler/typecheck/TcHsSyn.lhs | 7 ++++--- compiler/typecheck/TcMatches.lhs | 14 ++++++++------ 15 files changed, 70 insertions(+), 67 deletions(-) Diff suppressed because of size. To see it, use: git show a8941e2a4fe3b000e6c085701e0c015c5316c6ee _______________________________________________ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc