else
if eq a (hd bs) then True else search a (tl bs)
+tcfail043.hs:40:
+ Ambiguous type variable(s) `a' in the constraint `Eq_ a'
+ arising from use of `eq' at tcfail043.hs:40
+ In the predicate expression: eq a (hd bs)
+ In the right-hand side of a lambda abstraction:
+ if gt (hd bs) a then
+ False
+ else
+ if eq a (hd bs) then True else search a (tl bs)
+
Compilation had errors