Skip to content
  • Simon Peyton Jones's avatar
    Make rule printing wobble less · 10f18550
    Simon Peyton Jones authored
    a) When generating specialisations, include the types in the name
       of the rule, to avoid having rules with duplicate names.
       (The rule name is used to put rules in canonical order for
       fingerprinting.)
    
    b) In Specialise and SpecConstr use a new function Rules.pprRulesForUser
       to print rules in canonical order.  This reduces unnecessary wobbling
       in test output, notably in T2486
    10f18550