From: ····@vladimir.ucsb.edu (Kostruba)
Newsgroups: comp.lang.lisp
Subject: Re: Lisp delete
Message-ID: <····@ucsbcsl.ucsb.edu>
Date: 28 Aug 91 00:32:30 GMT
References: <····@ucsbcsl.ucsb.edu> <················@milton>
Sender: ····@ucsbcsl.ucsb.edu
Organization: University of California, Santa Barbara
If the "destructive version" of delete (and other functions) don't
change the argument in place, why is there a "destructive" version?
It certainly CHANGES the argument in place. It just doesn't put the
RESULT back there.
Why not just use remove?
Remove will allocate storage to create a new sequence. The
"destructive" operations re-use old storage.