blob: b8db0fb4bd0afc1f134fe4a14ffbadf4a1171a10 (
plain)
1
2
3
4
5
6
|
T10935.hs:5:11: warning: [-Wmonomorphism-restriction]
• The Monomorphism Restriction applies to the binding for ‘y’
Consider giving a type signature for ‘y’
• In the expression: let y = x + 1 in (y, y)
In an equation for ‘f’: f x = let y = x + 1 in (y, y)
|