Introducing:
authorDimitrios Vytiniotis <dimitris@microsoft.com>
Tue, 17 May 2011 16:24:50 +0000 (17:24 +0100)
committerDimitrios Vytiniotis <dimitris@microsoft.com>
Tue, 17 May 2011 16:24:50 +0000 (17:24 +0100)
commit9591547fbbdf12728884e125f8ba08b0e6e69f82
tree7cb6fac0cb854b6d058243cec36fa7839c305b64
parent2d5205118357cac8a2dd43b33bcd93a3c00f5558
Introducing:
   1) Postponing the application of instances when there
      is a possibility of a given matching. With the addition
      of prioritizing equalities this fixes #5002 and #4981.

   2) Implemented caching of flattening in constraint
      simplification. This improves efficiency (fixes #5030)

   3) Simplified pushing of unsolved wanteds
      (now pushing only equalities) inside implications.
compiler/typecheck/Inst.lhs
compiler/typecheck/TcCanonical.lhs
compiler/typecheck/TcErrors.lhs
compiler/typecheck/TcInstDcls.lhs
compiler/typecheck/TcInteract.lhs
compiler/typecheck/TcMType.lhs
compiler/typecheck/TcRnTypes.lhs
compiler/typecheck/TcSMonad.lhs
compiler/typecheck/TcSimplify.lhs