inconsistent definition of "sort" (and what about stability?)
Subject: inconsistent definition of "sort" (and what about stability?)
From: Raymond Toy
Date: Sat, 12 Nov 2011 21:00:56 -0800
On Nov 12, 2011 8:03 PM, "Steve Haflich" <smh at franz.com> wrote:
>
> So the current question could be resolved with one of these three choices:
>
> 1) Rewrite $sort to conform to the Maxima documentation, in a way that
> is portable to all ANSI-conformant implementations.
>
> 2) Rewrite the documentation to agree (other than the copy-list) with
> the ANSI definition.
>
> 3) Ignore this minor discrepency for the time being, because more
> important issues require atention in Maxima source and documentation.
>
(4) Use cl:stable-sort. (Perhaps that's what (1) is saying.)
> I guess (3) could be essentially a troll, but these choices offerred
> sincerely. Sorry about that.
That's always an option, troll or not.
Ray