summaryrefslogtreecommitdiff
path: root/testsuite/tests/ado/T16628.stderr
blob: 523d9f471c585688e784831f26382b152ee34a97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

T16628.hs:10:5: error:
    • No instance for ‘MonadFail Identity’
        arising from a do statement
        with the failable pattern ‘[x]’
    • In a stmt of a 'do' block: [x] <- i1
      In the expression:
        do _ <- i0
           [x] <- i1
           pure (x + 42)
      In an equation for ‘f’:
          f i0 i1
            = do _ <- i0
                 [x] <- i1
                 pure (x + 42)