[plt-dev] remf in unstable/list

From: David Van Horn (dvanhorn at ccs.neu.edu)
Date: Thu May 27 15:25:25 EDT 2010

On 5/27/10 2:47 PM, Eli Barzilay wrote:
>> I think remf is useful since it is an abstraction of remove, remv,
>> remq, etc., and including it is consistent with findf, memf, and
>> assf.
> IMO, `findf', `memf', and `assf' are expected to return only the
> first, but `remf' isn't.  Practically all of my interaction with the
> `mem...' functions had two problems: (a) surprising me with the fact
> that the non-*ed versions remove only the first, (b) annoying me with
> lumping the remove-all functionality with a list-of-values input,
> which in almost all cases makes me end up with a (remv* (list x) l).

Are you opposed to having the function, or just to having it called `remf'?


Posted on the dev mailing list.