blob: ccdbc2a8e13ba88da82e2c080cd9e6ca6d2825f5 (
plain)
1
2
3
4
5
|
tcfail055.hs:3:8: error: [GHC-83865]
• Couldn't match expected type ‘Float’ with actual type ‘Int’
• In the expression: (x + 1 :: Int) :: Float
In an equation for ‘f’: f x = (x + 1 :: Int) :: Float
|