[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#42644: 28.0.50; Please let max and min accept zero arguments
From: |
Michael Heerdegen |
Subject: |
bug#42644: 28.0.50; Please let max and min accept zero arguments |
Date: |
Sun, 02 Aug 2020 01:34:07 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Hello to all,
> I want to suggest to make the functions `max' and `min' accept zero
> arguments
>
> (max) => negative infinity
> (min) => positive infinity
thanks for your comments. More or less everyone seems to prefer the
introduction of constants instead. I have no objections to solve my
"issue" (solely) in that way. (And for `seq-min' and `seq-max' my
suggestion would also introduce the problem that the return value would
be undefinable if the given SEQUENCE is empty but a PREDICATE or KEY
function is specified).
Ok - how and where should we define such constant(s)? I think I would
prefer Stefan's suggestion to introduce only one constant named
"infinity", for no strong reasons.
Thanks,
Michael.
- bug#42644: 28.0.50; Please let max and min accept zero arguments, Michael Heerdegen, 2020/08/01
- bug#42644: 28.0.50; Please let max and min accept zero arguments, Stefan Kangas, 2020/08/01
- bug#42644: 28.0.50; Please let max and min accept zero arguments, Mattias EngdegÄrd, 2020/08/01
- bug#42644: 28.0.50; Please let max and min accept zero arguments, Andy Moreton, 2020/08/01
- bug#42644: 28.0.50; Please let max and min accept zero arguments, Drew Adams, 2020/08/01
- bug#42644: 28.0.50; Please let max and min accept zero arguments,
Michael Heerdegen <=
- bug#42644: 28.0.50; Please let max and min accept zero arguments, Dmitry Alexandrov, 2020/08/02