Haskell 98 Report

Tom Pledger Tom.Pledger@peace.com
Thu, 31 May 2001 09:25:53 +1200


Zhanyong Wan writes:
 | Tom Pledger wrote:
 :
 | >      deleteBy'' f = filter (not . f)
 | 
 | No.  deleteBy' f only deletes the *first* element that satisfies the
 | predicate f, while filter (not . f) deletes *all* such elements.


Oops.  Sorry.  I ought to become less SQL-oriented...