blob: 5d04f1589614b47ad98b19e6b074f8d5808ecfe6 (
plain)
1
2
3
4
5
6
7
8
9
|
ado003.hs:7:3: error:
Couldn't match expected type ‘Int’ with actual type ‘Char’
In the pattern: 'a'
In a stmt of a 'do' block: 'a' <- return (3 :: Int)
In the expression:
do { x <- getChar;
'a' <- return (3 :: Int);
return () }
|