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

MCL 2.0b1p3 sort problems



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.