blob: b8ec6b8f327955dd6ad12049256e7cf4ccbcb525 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
T7851.hs:5:10: error:
• Couldn't match expected type ‘IO a1’
with actual type ‘a0 -> IO ()’
• Probable cause: ‘print’ is applied to too few arguments
In a stmt of a 'do' block: print
In the expression:
do { print;
print "Hello" }
In an equation for ‘bar’:
bar
= do { print;
print "Hello" }
|