
14 Mar
2010
14 Mar
'10
3:45 p.m.
Most excellent! Thanks. I frequently use Hoogle[1] 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 [2] you may even invoke hoogle from within ghci: ghci> :hoogle (a -> Bool) -> [a] -> ([a], [a]) Hope that helps. Cheers, Simon [1] http://haskell.org/hoogle/ [2] http://www.haskell.org/haskellwiki/Ghci#Hoogle