summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/mc24.stderr
blob: 1249bc2f398c19b526d3e137ae0cf86fa6a079b2 (plain)
1
2
3
4
5
6
7
8
9

mc24.hs:10:31:
    Couldn't match type `[a0]' with `a -> Integer'
    Expected type: (a -> Integer) -> [a] -> t [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
    In a stmt of a monad comprehension: then group by x using take 2