-ds002.hs:7: Warning: Pattern match(es) are overlapped in the definition of function `f':
- f y = ...
- f z = ...
+ds002.hs:7: Warning: Pattern match(es) are overlapped
+ In the definition of `f':
+ f y = ...
+ f z = ...
-ds002.hs:11: Warning: Pattern match(es) are overlapped in the definition of function `g':
- g x y z = ...
+ds002.hs:11: Warning: Pattern match(es) are overlapped
+ In the definition of `g': g x y z = ...
-ds003.hs:5: Warning: Pattern match(es) are overlapped in the definition of function `f':
- f (x : (x1 : (x2 : x3))) ~(y, ys) z = ...
- f x y True = ...
+ds003.hs:5: Warning: Pattern match(es) are overlapped
+ In the definition of `f':
+ f (x : (x1 : (x2 : x3))) ~(y, ys) z = ...
+ f x y True = ...
-ds019.hs:5: Warning: Pattern match(es) are overlapped in the definition of function `f':
- f d (j, k) p = ...
- f (e, f, g) l q = ...
- f h (m, n) r = ...
+ds019.hs:5: Warning: Pattern match(es) are overlapped
+ In the definition of `f':
+ f d (j, k) p = ...
+ f (e, f, g) l q = ...
+ f h (m, n) r = ...
-ds020.hs:5: Warning: Pattern match(es) are overlapped in the definition of function `a':
- a ~(~[], ~[], ~[]) = ...
+ds020.hs:5: Warning: Pattern match(es) are overlapped
+ In the definition of `a': a ~(~[], ~[], ~[]) = ...
-ds020.hs:8: Warning: Pattern match(es) are overlapped in the definition of function `b':
- b ~(~x : (~xs : ~ys)) = ...
+ds020.hs:8: Warning: Pattern match(es) are overlapped
+ In the definition of `b': b ~(~x : (~xs : ~ys)) = ...
-ds020.hs:13: Warning: Pattern match(es) are overlapped in the definition of function `d':
- d ~(n+43) = ...
- d ~(n+999) = ...
+ds020.hs:13: Warning: Pattern match(es) are overlapped
+ In the definition of `d':
+ d ~(n+43) = ...
+ d ~(n+999) = ...
-ds020.hs:19: Warning: Pattern match(es) are overlapped in the definition of function `f':
- f (x@~[]) = ...
+ds020.hs:19: Warning: Pattern match(es) are overlapped
+ In the definition of `f': f (x@~[]) = ...
-ds022.hs:20: Warning: Pattern match(es) are overlapped in the definition of function `i':
- i 1 1.1 = ...
- i 2 2.2 = ...
+ds022.hs:20: Warning: Pattern match(es) are overlapped
+ In the definition of `i':
+ i 1 1.1 = ...
+ i 2 2.2 = ...
-ds040.hs:9: Warning: Pattern match(es) are overlapped in the definition of function `^^^^':
- ^^^^ _ _ = ...
+ds040.hs:9: Warning: Pattern match(es) are overlapped
+ In the definition of `^^^^': ^^^^ _ _ = ...
ds041.hs:15:
Warning: Field `x' is not initialised
In the record construction: Foo {}
- in the definition of function `foo': Foo {}
+ In the definition of `foo': Foo {}
-ds043.hs:8: Warning: Pattern match(es) are overlapped in a group of case alternatives beginning (B _ _ _ _ True False):
- B {e = True, f = False} -> ...
+ds043.hs:8: Warning: Pattern match(es) are overlapped
+ In a case alternative (B _ _ _ _ True False):
+ B {e = True, f = False} -> ...
-ds051.hs:6: Warning: Pattern match(es) are overlapped in the definition of function `f1':
- f1 "ab" = ...
+ds051.hs:6: Warning: Pattern match(es) are overlapped
+ In the definition of `f1': f1 "ab" = ...
-ds051.hs:11: Warning: Pattern match(es) are overlapped in the definition of function `f2':
- f2 ('a' : ('b' : [])) = ...
+ds051.hs:11: Warning: Pattern match(es) are overlapped
+ In the definition of `f2': f2 ('a' : ('b' : [])) = ...
-ds051.hs:16: Warning: Pattern match(es) are overlapped in the definition of function `f3':
- f3 "ab" = ...
+ds051.hs:16: Warning: Pattern match(es) are overlapped
+ In the definition of `f3': f3 "ab" = ...
Probable fix:
Add `Eq (Foo a b)' to the instance declaration context
Or add an instance declaration for `Eq (Foo a b)'
- arising from an instance declaration at drvfail004.hs:5
+ arising from the instance declaration at drvfail004.hs:5
+ In the instance declaration for `Ord (Foo a b)'