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