-
-tcfail010.hs:3: No instance for: `PrelBase.Num [taC3]'
- arising from use of `PrelBase.+' at tcfail010.hs:3
-
-tcfail010.hs:3: No instance for: `PrelBase.Num [taC3]'
- arising from use of `PrelBase.+' at tcfail010.hs:3
-Compilation had errors
+tcfail010.hs:3:
+ Ambiguous type variable(s) `t' in the constraint `Num [t]'
+ arising from use of `+' at tcfail010.hs:3
+ In the right-hand side of a lambda abstraction: z + 2