2 tcfail036.hs:8: Warning:
3 No explicit method nor default method for `fromInteger'
4 in an instance declaration for `Num'
6 tcfail036.hs:8: Warning:
7 No explicit method nor default method for `signum'
8 in an instance declaration for `Num'
10 tcfail036.hs:8: Warning:
11 No explicit method nor default method for `abs'
12 in an instance declaration for `Num'
14 tcfail036.hs:8: Warning:
15 No explicit method nor default method for `negate'
16 in an instance declaration for `Num'
18 tcfail036.hs:8: Warning:
19 No explicit method nor default method for `*'
20 in an instance declaration for `Num'
22 tcfail036.hs:8: Warning:
23 No explicit method nor default method for `+'
24 in an instance declaration for `Num'
26 tcfail036.hs:7: Warning:
27 No explicit method nor default method for `fromInteger'
28 in an instance declaration for `Num'
30 tcfail036.hs:7: Warning:
31 No explicit method nor default method for `signum'
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 `negate'
40 in an instance declaration for `Num'
42 tcfail036.hs:7: Warning:
43 No explicit method nor default method for `*'
44 in an instance declaration for `Num'
48 Class used as a type constructor: Num
52 Duplicate or overlapping instance declarations
53 for `Num NUM' at tcfail036.hs:8 and tcfail036.hs:7
56 No instance for `Eq NUM'
57 (arising from an instance declaration at tcfail036.hs:8)
60 No instance for `Show NUM'
61 (arising from an instance declaration at tcfail036.hs:8)
64 Compilation had errors