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

tcfail168.hs:7:11:
    Couldn't match expected type ‛IO a0’
                with actual type ‛Char -> IO ()’
    Probable cause: ‛putChar’ is applied to too few arguments
    In a stmt of a 'do' block: putChar
    In the expression:
      do { putChar;
           putChar 'a';
           putChar 'a';
           putChar 'a';
           .... }