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

<interactive>:1:2: error:
    • Couldn't match type ‘IO String’ with ‘Int -> IO String’
      Expected type: [String] -> Int -> IO String
        Actual type: [String] -> IO String
    • In the expression: (two_args) :: [String] -> Int -> IO String
      In an equation for ‘_compileParsedExpr’:
          _compileParsedExpr = (two_args) :: [String] -> Int -> IO String

<interactive>:1:2: error:
    • Couldn't match type ‘IO String’ with ‘Int -> IO String’
      Expected type: [String] -> Int -> IO String
        Actual type: [String] -> IO String
    • In the expression: (two_args) :: [String] -> Int -> IO String
      In an equation for ‘_compileParsedExpr’:
          _compileParsedExpr = (two_args) :: [String] -> Int -> IO String