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