[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.
- Re: master 4b79c80c999 1/2: New function 'sort-on', Daniel Mendler, 2024/02/02
- Re: master 4b79c80c999 1/2: New function 'sort-on', Michael Heerdegen, 2024/02/02
- Re: master 4b79c80c999 1/2: New function 'sort-on', Eli Zaretskii, 2024/02/02
- Re: master 4b79c80c999 1/2: New function 'sort-on', Eshel Yaron, 2024/02/02
- Re: master 4b79c80c999 1/2: New function 'sort-on', Eli Zaretskii, 2024/02/02
- Re: master 4b79c80c999 1/2: New function 'sort-on', Michael Heerdegen, 2024/02/02
- Re: master 4b79c80c999 1/2: New function 'sort-on', Emanuel Berg, 2024/02/02
- Re: master 4b79c80c999 1/2: New function 'sort-on', Dmitry Gutov, 2024/02/04
- Re: master 4b79c80c999 1/2: New function 'sort-on', Yuri Khan, 2024/02/05
- Re: master 4b79c80c999 1/2: New function 'sort-on', Eli Zaretskii, 2024/02/05