blob: 8698e5e21c7425eb44e905eafee20b6849380c77 (
plain)
1
2
3
4
5
6
|
tcfail031.hs:3:10: error: [GHC-83865]
• Couldn't match expected type ‘Bool’ with actual type ‘Char’
• In the expression: 'a'
In the expression: if 'a' then 1 else 2
In an equation for ‘f’: f x = if 'a' then 1 else 2
|