[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: remove



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