[plt-dev] remf in unstable/list

From: Eli Barzilay (eli at barzilay.org)
Date: Thu May 27 14:27:28 EDT 2010

On May 26, Sam Tobin-Hochstadt wrote:
> On Wed, May 26, 2010 at 3:54 PM, Eli Barzilay <eli at barzilay.org> wrote:
> > On May 25, David Van Horn wrote:
> >> Could the following make its way into unstable/list?  It adds
> >> remf for symmetry with findf and memf.
> >
> > Is there any reason for putting it in unstable?  It should not be
> > used outside of the racket tree.
> I agree - I can't imagine that the interface to `remf' is likely to
> change.

I missed the fact that this is removing only the first matching item
rather than all of them (which would make it the same as
`filter-not').  Are there any cases where this is useful?

          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                    http://barzilay.org/                   Maze is Life!

Posted on the dev mailing list.