2 tcfail036.hs:8: Warning:
3 No explicit method nor default method for `+'
4 in an instance declaration for `Num'
6 tcfail036.hs:8: Warning:
7 No explicit method nor default method for `*'
8 in an instance declaration for `Num'
10 tcfail036.hs:8: Warning:
11 No explicit method nor default method for `negate'
12 in an instance declaration for `Num'
14 tcfail036.hs:8: Warning:
15 No explicit method nor default method for `abs'
16 in an instance declaration for `Num'
18 tcfail036.hs:8: Warning:
19 No explicit method nor default method for `signum'
20 in an instance declaration for `Num'
22 tcfail036.hs:8: Warning:
23 No explicit method nor default method for `fromInteger'
24 in an instance declaration for `Num'
26 tcfail036.hs:7: Warning:
27 No explicit method nor default method for `*'
28 in an instance declaration for `Num'
30 tcfail036.hs:7: Warning:
31 No explicit method nor default method for `negate'
32 in an instance declaration for `Num'
34 tcfail036.hs:7: Warning:
35 No explicit method nor default method for `abs'
36 in an instance declaration for `Num'
38 tcfail036.hs:7: Warning:
39 No explicit method nor default method for `signum'
40 in an instance declaration for `Num'
42 tcfail036.hs:7: Warning:
43 No explicit method nor default method for `fromInteger'
44 in an instance declaration for `Num'
48 Class used as a type constructor: Num In the type `Eq Num'
51 Duplicate or overlapping instance declarations
52 for `Num NUM' at tcfail036.hs:8 and tcfail036.hs:7
55 No instance for: `Eq NUM'
56 arising from an instance declaration, at tcfail036.hs:8
59 No instance for: `Show NUM'
60 arising from an instance declaration, at tcfail036.hs:8
63 Compilation had errors