Sort rules and instances lexicographically in interface files
authorsimonpj@microsoft.com <unknown>
Wed, 10 Jan 2007 12:43:27 +0000 (12:43 +0000)
committersimonpj@microsoft.com <unknown>
Wed, 10 Jan 2007 12:43:27 +0000 (12:43 +0000)
commitfdf6c02f72fbcbad9982bf78473916c40dcaa5ec
tree58d2c703b5c0286a4d8c5c5d190a36eabec9cc06
parentd6b899273f0993030b33a7278329ba8b27f3b6e0
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.
compiler/basicTypes/OccName.lhs
compiler/iface/MkIface.lhs