summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-regress/typecheck/should_fail/tcfail194.stderr
blob: be6e37ec6b3687475d671647b75f03e863d958a3 (plain)
1
2
3
4
5
6
7
8

tcfail194.hs:9:29:
    Couldn't match expected type `a -> t0' with actual type `[a0]'
    Expected type: (a -> t0) -> [a] -> [a]
      Actual type: [a0] -> [a0]
    In the return type of a call of `take'
    Probable cause: `take' is applied to too many arguments
    In the expression: take 5