blob: a59d7645aa6c360592bd978c6cf52853bcea7915 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
T7851.hs:5:10: error: [GHC-83865]
• Couldn't match expected type: IO a0
with actual type: a1 -> 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"
|