summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/T7856.stderr
blob: e6fe2bd42fdcc376e9af28351766cc225a87387f (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"]