tcfail191.hs:11:26: error:
• Couldn't match type ‘a’ with ‘[a]’
‘a’ is a rigid type variable bound by
a type expected by the context:
forall a. [a] -> [[a]]
at tcfail191.hs:(10,9)-(11,31)
Expected type: [a] -> [[a]]
Actual type: [[a]] -> [[a]]
• In the expression: take 5
In a stmt of a list comprehension: then group using take 5
In the expression:
[() | x <- [Gnorf, Brain], then group using take 5]