[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: |
Mattias Engdegård |
Subject: |
bug#42644: 28.0.50; Please let max and min accept zero arguments |
Date: |
Sat, 1 Aug 2020 12:21:51 +0200 |
That's funny, I was just thinking about whether to do anything about the
byte-compiler raising an error when compiling (min) and (max), rather than just
emitting a warning.
Extending min/max with ±Inf as identities is indeed attractive and would
simplify some code by removing an edge or base case. The main argument against
the extension is the worry that some errors would become hidden or handled
inappropriately.
If you find ±1.0e+INF to be hard to remember -- you are not alone -- we could
add the constants positive-infinity, negative-infinity, or just infinity.
- 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 <=
- 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, 2020/08/01
- bug#42644: 28.0.50; Please let max and min accept zero arguments, Dmitry Alexandrov, 2020/08/02