[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
MCL 2.0b1p3 sort problems
- To: info-mcl@cambridge.apple.com
- Subject: MCL 2.0b1p3 sort problems
- From: Adnan Hamid <ahamid@clarity.Princeton.EDU>
- Date: Wed, 10 Jul 91 02:33:31 EDT
According to my copy of Steel, (sort <sequence> <predicate>) *distructively*
sorts the sequence that it is given. One presumes that the following behaviour
is incorrect:
Welcome to Macintosh Common Lisp Version 2.0b1p3!
? (setq foo '(1 2 3))
(1 2 3)
? (sort foo #'>)
(3 2 1)
? foo
(1)
?
Help would be much appreciated,
thanks,
-adnan.