Subject: [commit: ghc] master: Simplified serialization of IfaceTyCon, again (0a88274)
Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch : master

http://hackage.haskell.org/trac/ghc/changeset/0a88274743885cfeb4ee872fbf3d09d4e7484f03

>---------------------------------------------------------------

commit 0a88274743885cfeb4ee872fbf3d09d4e7484f03
Author: Max Bolingbroke <batterseapower@xxxxxxxxxxx>
Date: Wed Feb 22 15:53:10 2012 +0000

Simplified serialization of IfaceTyCon, again

Jose's patch implementing kind-polymorphic core
(09015be8d580bc33f5f1960c8e31d00ba7a459a1) reverted many of the simplifying
changes to interface file TyCon serialization I had made in a previous patch
(5d7173f9ab8405511f75765e0541a04796d9bd07). Based on the diff I think this was
an unintended consequence of how Jose did the merge rather than a real change
he intended to make.

In fact, as a result of kind-polymorphic core we don't need to treat the
Any TyCon specially any longer so my old simplifying changes can be made even
simpler: IfaceTyCon is now just a newtype on IfaceExtName.

compiler/iface/BinIface.hs | 93 +++------------------------------
compiler/iface/IfaceSyn.lhs | 1 -
compiler/iface/IfaceType.lhs | 113 +++++++--------------------------------
compiler/iface/TcIface.lhs | 40 +++------------
compiler/prelude/PrelNames.lhs | 19 -------
compiler/prelude/TysPrim.lhs | 3 +-
6 files changed, 38 insertions(+), 231 deletions(-)


Diff suppressed because of size. To see it, use:

git show 0a88274743885cfeb4ee872fbf3d09d4e7484f03

_______________________________________________
Cvs-ghc mailing list
Cvs-ghc@xxxxxxxxxxx
http://www.haskell.org/mailman/listinfo/cvs-ghc

(C)2011 mailinglist-archive.com