blob: 52dc7956cd784f7f706452f12dfa43580c2d72dd (
plain)
1
2
3
4
5
6
7
8
9
10
|
tcfail015.hs:9:39:
No instance for (Num Bool)
arising from the literal `4'
Possible fix: add an instance declaration for (Num Bool)
In the expression: 4
In an equation for `g':
g (ANode b (ANode c d))
| b = c + 1
| otherwise = 4
|