blob: eeda10a396398ecd5df308753e30120a4012d0e3 (
plain)
1
2
3
4
5
6
7
8
9
10
|
mc21.hs:12:26:
Couldn't match type ‛a’ with ‛[a]’
‛a’ is a rigid type variable bound by
a type expected by the context: [a] -> [[a]] at mc21.hs:12:9
Expected type: [a] -> [[a]]
Actual type: [a] -> [a]
In the return type of a call of ‛take’
In the expression: take 5
In a stmt of a monad comprehension: then group using take 5
|