What makes a definition subject to monomorphism restriction?

46 Views Asked by At

Why is this definition affected by the monomorphism restriction?

z = \n -> n  + 1 

and this isn't:

z n = n + 1
0

There are 0 best solutions below