blob: c74fd97bbc9cd1d8c48e8ec054980b45746aa118 (
plain)
1
2
3
4
5
6
7
8
9
10
|
T12906.hs:1:1: error:
The IO action ‘main’ is not defined in module ‘Main’
T12906.hs:2:7: error:
• Couldn't match type ‘IO ()’ with ‘[Char]’
Expected type: String
Actual type: IO ()
• In the expression: print (reverse s + 1)
In an equation for ‘x’: x s = print (reverse s + 1)
|