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

mc25.hs:9:46:
    Couldn't match expected type `a -> t0' with actual type `Int'
    Expected type: (a -> t0) -> [a] -> t1 (t2 a)
      Actual type: Int -> [a0] -> [a0]
    In the expression: take
    In a stmt of a monad comprehension: then group by x using take