bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#18837: 25.0.50; `sort` -- modify function to preserve original list.


From: Stefan Kangas
Subject: bug#18837: 25.0.50; `sort` -- modify function to preserve original list.
Date: Mon, 16 Sep 2019 07:30:36 +0200

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> The doc-string for the function `sort` states that `SEQ is modified by
>> side effects`; however, it does not state in what way the original
>> list gets modified or why such a feature might somehow be useful.
>
> The "usefulness" is to avoid allocating another list in the case where
> the unsorted list won't be used later on anyway.

It doesn't seem like there is anything more to do here, so I'm closing
this bug.

Best regards,
Stefan Kangas





reply via email to

[Prev in Thread] Current Thread [Next in Thread]