blob: f7fc14bb1fd74d64ebcb7cdf6e55ea64a7df9548 (
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
|