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