summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/T7856.stderr
blob: 566018894fbc184a8f8724f6f45333b0f8985471 (plain)
1
2
3
4
5
6
7
8
9
10
11

T7856.hs:4:7:
    Couldn't match expected type ‛String -> IO ()’
                with actual type ‛IO ()’
    Possible cause: ‛sequence_’ is applied to too many arguments
    In the expression: sequence_ lst
    In an equation for ‛tmp’:
        tmp
          = sequence_ lst
          where
              lst = [putStrLn "hi"]