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

mc24.hs:10:31:
    Couldn't match expected type `a -> t0' with actual type `[a0]'
    Expected type: (a -> t0) -> [a] -> t1 (t2 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 2