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

Re: MCL 2.0b1p3 sort problems

The Interlisp system did destructive sort the way you expected it.
This is possible if the sort routine holds onto what was the first cell in the
list and then puts the car and cdr of the resulting sorted list into that cell.
It would be nice if that were what the standard required.  If lisp won't give
it to you, then you'll have to do your own resetting of foo:
(setq foo (sort foo #'>))

Bill Woods
Sun Microsystems Laboratories

----- Begin Included Message -----