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

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

bug#69709: `sort` interface improvement and universal ordering predicate


From: Dmitry Gutov
Subject: bug#69709: `sort` interface improvement and universal ordering predicate
Date: Fri, 22 Mar 2024 22:55:55 +0200
User-agent: Mozilla Thunderbird

On 20/03/2024 21:01, Mattias Engdegård wrote:
* Maybe the :destructive keyword be called :inplace or :in-place instead? 
Shorter, less violent.

If the function default to destructive, perhaps the argument could be called :copy.

:in-place is not too bad. But I've looked around and don't see many sorting functions in other stdlibs that do it non-destructively.

Even 'sort' in Clojure might mutate: https://clojuredocs.org/clojure.core/sort





reply via email to

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