blob: 829cbcc91058b3b5f905b7b17f073052fac45245 (
plain)
1
2
3
4
5
6
7
8
9
10
|
qdofail001.hs:11:7: error: [GHC-83865]
• Couldn't match expected type ‘Int’ with actual type ‘Char’
• In the pattern: ' '
In a stmt of a qualified 'do' block: y@' ' <- [1, 2 :: Int]
In the second argument of ‘($)’, namely
‘P.do x <- [1, 2]
y@' ' <- [1, 2 :: Int]
[1, 2]
return y’
|