-
+
tcfail031.hs:3:
Couldn't match `Bool' against `Char'
Expected type: Bool
Inferred type: Char
In the predicate expression: 'a'
- In the right-hand side of an equation for `f': if 'a' then 1 else 2
-
-
-Compilation had errors
+ in the definition of function `f': if 'a' then 1 else 2