patch applied (ghc): move and generalize another instance (#1405)

Simon Peyton Jones simonpj at microsoft.com
Fri Jan 4 08:17:43 EST 2008


Wed Dec 26 09:49:04 PST 2007  Isaac Dupree <id at isaac.cedarswampstudios.org>
  * 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)

    M ./compiler/cmm/CmmSpillReload.hs -3
    M ./compiler/cmm/ZipCfg.hs +3
    M ./compiler/cmm/ZipCfgCmmRep.hs -3
    M ./compiler/cmm/ZipDataflow0.hs -1 +1



More information about the Cvs-ghc mailing list