[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: remove
- To: info-mcl
- Subject: Re: remove
- From: poeck@informatik.uni-wuerzburg.de (karsten poeck)
- Date: 1 Dec 92 09:34:36 GMT
- Followup-to: comp.lang.lisp.mcl
- Newsgroups: comp.lang.lisp.mcl
- Organization: university of wuerzburg
- References: Mark A. Tapia's message of Fri, 27 Nov 1992 09:09:40 -0500 <19411.9211271603@subnode.aiai.ed.ac.uk>
- Sender: news@informatik.uni-wuerzburg.de (USENET News account)
In article <19411.9211271603@subnode.aiai.ed.ac.uk>,
jeff@aiai.edinburgh.ac.uk (Jeff Dalton) wrote:
> Moreover, since you can't rely on REMOVE making a copy, you
> might find yourself doing something like this:
>
> (sort (copy-list (remove nil x)) #'<)
>
Shoudn't this be (sort (remove nil (copy-list x)) #'<), since remove could
destroy x?
Karsten Poeck
Universitaet Wuerzburg
Lehrstuhl fuer Informatik VI
- Follow-Ups:
- Re: remove
- From: grant@pentagon-gw.army.mil (Pete Grant)
- References:
- Re: remove
- From: Jeff Dalton <jeff@aiai.edinburgh.ac.uk>