emacs-devel
[Top][All Lists]
Advanced

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

Re: master 4b79c80c999 1/2: New function 'sort-on'


From: Michael Heerdegen
Subject: Re: master 4b79c80c999 1/2: New function 'sort-on'
Date: Fri, 02 Feb 2024 17:08:31 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

Daniel Mendler via "Emacs development discussions."
<emacs-devel@gnu.org> writes:

> Why not seq.el? We already seq-sort in seq.el, so the new function
> could be added there as well.

Similar opinion as Eli.  I don't feel that sorting is a basic sequence
operation.  Unlike concatenation, you don't sort streams (lazy lists)
for example.

It's a corner case like `seq-sort' I don't have a strong opinion about.
I think I would prefer having the function defined somewhere else and,
maybe, use it in the list implementation of a `seq-sort-on' if we really
want it.

But do you really think people often would "sort-on" anything but lists?

Michael.




reply via email to

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