blob: 8a67d364d0f1701ddfd170c6904f065751715657 (
plain)
1
2
3
4
5
6
7
8
9
|
mc24.hs:10:31:
Couldn't match type ‛[a0]’ with ‛a -> a1’
Expected type: (a -> a1) -> [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
|