blob: 853f982979b1894b06f3736a655b145270827529 (
plain)
1
2
3
4
5
6
7
8
9
|
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 expression: take 5
In a stmt of a monad comprehension: then group using take 5
|