patch applied (ghc): Sort rules and instances lexicographically in interface files

Simon Peyton Jones <[email protected]> Thu, 11 Jan 2007 05:15:10 -0800
Newsgroups gmane.comp.lang.haskell.cvs.all
Message-ID <20070111131510.GA2049__26825.0237023041$1168521319$gmane$org@cvs.haskell.org>
Wed Jan 10 04:43:27 PST 2007  [email protected]
  * Sort rules and instances lexicographically in interface files
  
  We should sort rules and instances lexicographically, not by Unique,
  in interface files, else we get unnecessary "rules changed" and hence
  unnecessary recompilation.
  
  This bug has been there since the interface-file upheaval that put Names
  into IfaceSyn.
  

    M ./compiler/basicTypes/OccName.lhs -2 +3
    M ./compiler/iface/MkIface.lhs -5 +13