-tcfail008.hs:3: No instance for: `PrelBase.Num [taBA]'
- arising from the literal 2 at tcfail008.hs:3
+tcfail008.hs:3:
+ Ambiguous type variable(s) `$0'
+ in the constraint `Num [$0]'
+ arising from the literal `2' at tcfail008.hs:3
-tcfail008.hs:3: No instance for: `PrelBase.Num [taBA]'
- arising from the literal 2 at tcfail008.hs:3
-
-tcfail008.hs:3: No instance for: `PrelBase.Num [PrelBase.Int]'
- arising from the literal 2 at tcfail008.hs:3
+tcfail008.hs:3:
+ Ambiguous type variable(s) `$0'
+ in the constraint `Num $0'
+ arising from the literal `1' at tcfail008.hs:3
Compilation had errors