[commit: ghc] overlapping-tyfams: Refactored TyFamily constructor of TyClDecl to be its own type. (30ce619)
Richard Eisenberg
eir at cis.upenn.edu
Wed Aug 15 17:00:34 CEST 2012
Repository : ssh://darcs.haskell.org//srv/darcs/ghc
On branch : overlapping-tyfams
http://hackage.haskell.org/trac/ghc/changeset/30ce61947d15c67e70903fd5241b53e52b0f61db
>---------------------------------------------------------------
commit 30ce61947d15c67e70903fd5241b53e52b0f61db
Author: Richard Eisenberg <eir at seas.upenn.edu>
Date: Sat Jul 14 10:39:06 2012 +0100
Refactored TyFamily constructor of TyClDecl to be its own type.
The TyFamily constructor is now FamDecl, and it uses the auxiliary
type FamilyDecl. This was done to allow the tcdATs field of the
ClassDecl constructor to store [LFamilyDecl name] instead of
general TyClDecls.
compiler/deSugar/DsMeta.hs | 48 +++++----
compiler/hsSyn/Convert.lhs | 8 +-
compiler/hsSyn/HsDecls.lhs | 62 +++++++-----
compiler/hsSyn/HsUtils.lhs | 6 +-
compiler/parser/Parser.y.pp | 14 ++-
compiler/parser/RdrHsSyn.lhs | 20 ++--
compiler/rename/RnSource.lhs | 66 +++++++-----
compiler/typecheck/TcClassDcl.lhs | 11 +-
compiler/typecheck/TcTyClsDecls.lhs | 193 ++++++++++++++++++++++-------------
9 files changed, 249 insertions(+), 179 deletions(-)
Diff suppressed because of size. To see it, use:
git show 30ce61947d15c67e70903fd5241b53e52b0f61db
More information about the Cvs-ghc
mailing list