-tcfail073.hs:3:
- Duplicate or overlapping instance declarations
- for `Eq (a, b)' at PrelTup.hi:10 and tcfail073.hs:8
+Duplicate or overlapping instance declarations:
+ tcfail073.hs:7: {Eq (a, b)}
+ /home/simonmar/builds/i386-unknown-linux/ghc/compiler/../lib/std/PrelTup.hi:66: {Eq (a,
+ b)}
tcfail073.hs:8:
- Could not deduce `Eq a'
- (arising from use of `==' at tcfail073.hs:8)
- from the context: (Eq (a, b))
- Probable cause: missing `Eq a' in instance declaration context
- When checking the methods of an instance declaration
-
-
-
-Compilation had errors
-
+ Could not deduce `Eq a' from the context (Eq (a, b))
+ Probable fix:
+ Add `Eq a' to the instance declaration context
+ arising from use of `==' at tcfail073.hs:8
+ In the right-hand side of an equation for `==': m == o