Doing the smart canonicalization only if we are not simplifying a Rule LHS.
[ghc-hetmet.git] / compiler / typecheck / TcSMonad.lhs
index 0920a8b..edeb5cb 100644 (file)
@@ -460,6 +460,7 @@ data SimplContext
   | SimplRuleLhs       -- Inferring type of a RULE lhs
   | SimplInteractive   -- Inferring type at GHCi prompt
   | SimplCheck         -- Checking a type signature or RULE rhs
+  deriving Eq
 
 instance Outputable SimplContext where
   ppr SimplInfer       = ptext (sLit "SimplInfer")