
27 Jun
2011
27 Jun
'11
7:51 a.m.
On 27 Jun 2011, at 12:48, David Virebayre wrote:
But then I see these error : Could not match expected type "Bool" with actual type [a0] -> a0
It's quite clear: The compiler expects a function that'll return a Bool value, but you gave it one that takes a list and returns an element from the list.
Actually it's saying it expects a bool value, no function at all. Bob