tcfail006.hs:4: No instance for `Num Bool' arising from the literal `1' at tcfail006.hs:4 In the right-hand side of a case alternative: (True, 1) Compilation had errors