blob: a5a3a4bff126fde6f4c850a5debee09f3ff56a3a (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
T7856.hs:4:7: error:
• Couldn't match expected type: String -> IO ()
with actual type: IO ()
• Possible cause: ‘sequence_’ is applied to too many arguments
In the expression: sequence_ lst
In an equation for ‘tmp’:
tmp
= sequence_ lst
where
lst = [putStrLn "hi"]
|