3 Duplicate or overlapping instance declarations
5 defined at tcfail036.hs:8 and defined at tcfail036.hs:6
8 No instance for `Eq NUM'
9 arising from an instance declaration at tcfail036.hs:8
12 No instance for `Show NUM'
13 arising from an instance declaration at tcfail036.hs:8
16 Class used as a type constructor: Num
17 When checking kinds in `Eq Num'
19 Compilation had errors