tcfail010.hs:3:
- Ambiguous type variable(s) `t'
- in the constraint `Num [t]'
- arising from use of `+' at tcfail010.hs:3
-
-Compilation had errors
-
+ No instance for `Num [t]'
+ arising from the literal `2' at tcfail010.hs:3
+ In the second argument of `(+)', namely `2'
+ in a lambda abstraction: z + 2