
14 Mar
2010
14 Mar
'10
4:25 p.m.
Am Sonntag 14 März 2010 21:19:19 schrieb michael rice:
Thanks all,
Wouldn't one need to know the order of the arguments?
(a -> Bool) -> [a] -> ([a], [a])
hoogle also lists functions with "similar" types, so it probably also would find partition if you searched for a function of type [a] -> (a -> Bool) -> ([a],[a]). In this case, that would be a quite unnatural argument order, but of course there are other cases.