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