blob: 5d55430eaa436b6884e35d46a0e323f9a2cab858 (
plain)
1
2
3
4
5
6
|
tcfail031.hs:3:10:
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
|