[Haskell-cafe] Splitting list with predicate
simon.hengel at wiktory.org
Sun Mar 14 15:45:52 EDT 2010
> Most excellent! Thanks.
I frequently use Hoogle when I need a function, that I think must
exist, but do not know how it is named. Try:
(a -> Bool) -> [a] -> ([a], [a])
With the recipe from  you may even invoke hoogle from within ghci:
ghci> :hoogle (a -> Bool) -> [a] -> ([a], [a])
Hope that helps.
More information about the Haskell-Cafe