Hello!

On Sun, Dec 05, 1999 at 05:53:33PM +0000, Jon Fairbairn wrote:

> > Is not                     deleteBy :: (a->Bool) -> [a] -> [a]
> > more natural for the library than
> >                            deleteBy :: (a->a->Bool) -> a -> [a] -> [a]
> > ?

> I'd say so.  In general the prelude seems rather weak on 
> functions to manipulate predicates.

That's just filter, with a reversed predicate.

Define it yourself:

deleteByPred = filter . (not .)

Regards, Hannah.

Reply via email to