Re: ITERATOR-REMOVE-VALUE!, *-DELETE!
scgmille@xxxxxx 29 Apr 2003 21:40 UTC
On Tue, Apr 29, 2003 at 04:40:59PM -0400, Taylor Campbell wrote:
>
> On Tuesday, April 29, 2003, at 04:07 PM, Taylor Campbell wrote:
>
> >The REMOVE in the middle of a function name has by convention in past
> >SRFIs
> >indicated a predicate argument, while DELETE indicates a simple value
> >deletion.
> >This, I believe, should be reflected in ITERATOR-REMOVE-VALUE!, as it
> >already is
> >reflected in *-DELETE!. I therefore propose to change it to
> >ITERATOR-DELETE-VALUE!.
>
> Er, and not just ITERATOR-(REMOVE->DELETE)-VALUE! -- also for things
> like
> *-REMOVE!, *-REMOVE-ALL!, et cetera.
>
Delete to me at least implies both removal of the value and the storage
it occupied. Remove only implies the removal of the value, hence the
choice of remove.
I'm not quite sure what you mean wrt predicate arguments. Do you mean
the list functions that check a value against a predicate before
removing? I would argue that they are vaguely named. :)
Scott