[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: MCL 2.0b1p3 sort problems
- To: Adnan Hamid <ahamid@clarity.Princeton.EDU>
- Subject: Re: MCL 2.0b1p3 sort problems
- From: asb@media-lab.media.mit.edu
- Date: Wed, 10 Jul 91 11:23:43 EDT
- Cc: info-mcl@cambridge.apple.com, asb@media-lab.media.mit.edu
- In-reply-to: Your message of Wed, 10 Jul 91 02:33:31 -0400. <9107100633.AA09771@clarity.Princeton.EDU>
I have observed the same problem with sort. Copying the list before you
sort it is wasteful of space, but eliminates sort's weird behavior.
This will always do what you wanted it to do:
(sort (copy-list foo) <predicate>)
-- Amy