a revised patch-set that fixes / cleans up some of my comments. I added
a patch instead of amend-recording because I already darcs-sent the
patches to the list (or is amend-recording better anyway?)
Isaac
Wed Dec 26 11:47:49 EST 2007 Isaac Dupree <[EMAIL PROTECTED]>
* change CmmActual, CmmFormal to use a data CmmHinted rather than
tuple (#1405)
This allows the instance of UserOfLocalRegs to be within Haskell98,
and IMHO
makes the code a little cleaner generally.
This is one small (though tedious) step towards making GHC's code more
portable...
Wed Dec 26 12:19:13 EST 2007 Isaac Dupree <[EMAIL PROTECTED]>
* move and generalize an instance (#1405)
UserOfLocalRegs (ZLast Last) isn't Haskell98, but it was just as
good an instance to be UserOfLocalRegs a => UserOfLocalRegs (ZLast a)
Wed Dec 26 12:49:04 EST 2007 Isaac Dupree <[EMAIL PROTECTED]>
* move and generalize another instance (#1405)
was instance Outputable CmmGraph
type CmmGraph = LGraph Middle Last
now instance (ctx) => Outputable (LGraph m l),
in module with LGraph where it belongs
This also let us reduce the context of DebugNodes to Haskell98,
leaving that class's only extension being multi-parameter.
(also Outputable (LGraph M Last) with M = ExtendWithSpills Middle
was another redundant instance that was then removed)
Wed Dec 26 12:59:15 EST 2007 Isaac Dupree <[EMAIL PROTECTED]>
* generalize instance Outputable GenCmm to H98 (#1405)
Wed Dec 26 14:03:46 EST 2007 Isaac Dupree <[EMAIL PROTECTED]>
* remove DebugNodes. No more type-class extensions! (#1405)
Unfortunately it's a little uglier now. Look at the patch details.
If the distinction between debug and semantic is not so important,
then the contexts in ZipDataflow0 would not look so ugly.
Hopefully this change is good enough.
Now only Rank2Types remains, plus some fixable MagicHash and
UnboxedTuples
(using ifdefs where necessary not to compromise the speed, of course),
and the ubiquitous PatternGuards, ForeignFunctionInterface and CPP.
Wed Dec 26 14:15:33 EST 2007 Isaac Dupree <[EMAIL PROTECTED]>
* generalize Outputable instances to H98-ize (#1405)
Fri Dec 28 08:36:21 EST 2007 Isaac Dupree <[EMAIL PROTECTED]>
* neaten/fix DebugNodes comments a little (#1405)
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc