blob: 365bf9fcae13ac034ac7cd8daf99f27e1b1ba083 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
<interactive>:1:8: error:
• Couldn't match type ‘a0 -> a0’ with ‘[Char]’
Expected type: IO Prelude.String
Actual type: IO (a0 -> a0)
• In the expression: return id
In the second argument of ‘(.)’, namely ‘(\ _ -> return id)’
In the expression:
(.)
(GHC.GHCi.ghciStepIO :: IO Prelude.String -> IO Prelude.String)
(\ _ -> return id) ::
Prelude.String -> IO Prelude.String
|