summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/scripts/T10508.stderr
blob: f7931e48e2e81fd7f3a33e3ac42f690ebd91bd91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13

<interactive>:1:8: error:
    • Couldn't match type: a0 -> a0
                     with: [Char]
      Expected: IO Prelude.String
        Actual: 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