[Openmcl-devel] the value of constant `lambda-list-keywords' changed after sort/stable-sort
olopierpa at gmail.com
Mon Feb 6 05:38:47 CST 2012
On Mon, Feb 6, 2012 at 12:25, Xiaofeng Yang <n.akr.akiiya at gmail.com> wrote:
> This problem can also be found at version 1.7. If I apply `sort' to
> `lambda-list-keywords', the result is the same as below.
> Is this a bug ?
No. LAMBDA-LIST-KEYWORDS is a constant, and SORT is a destructive
function, so you can't apply the second to the first.
Try: (SORT (COPY-LIST LAMBDA-LIST-KEYWORDS)
More information about the Openmcl-devel