blob: b3a6cb4b96b72ea51d8851f8c173573bf0c37a34 (
plain)
1
2
3
4
5
6
7
8
|
tcfail189.hs:10:31:
Couldn't match expected type `a -> t0' with actual type `[a0]'
Expected type: (a -> t0) -> [a] -> [[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
|