[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: PPC & MCL
- To: email@example.com (Paradigm Publishing Systems, Inc.), firstname.lastname@example.org
- Subject: Re: PPC & MCL
- From: email@example.com (Kalman Reti)
- Date: Fri, 23 Dec 1994 13:13:50 -0500
- Sender: firstname.lastname@example.org
At 8:39 AM 12/23/94 -0700, Paradigm Publishing Systems, Inc. wrote:
>I'm running MCL 2.0.1 (patches obtained from cambridge.apple.com). Does
>this version run error free on the PPC or are there other patches required?
>In the version I'm running there seems to be an error with -sort-
> >(setf q '(4 3 5 1 6))
> (4 3 5 1 6)
> >(sort q #'<)
> (1 2 3 4 5 6)
> (5 6)
>Thanks for any info.
No bug here.
This should go in a "Frequent lisp errors" compendium;SORT destructively modifies
the list passed in to it, and returns a pointer to the head of the new
modified list. You ignored the value SORT returned, so you had an old pointer
which used to point to the head, but now could point anywhere in the list.
>Paradigm Publishing Systems, Inc.