unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#42644: 28.0.50; Please let max and min accept zero arguments
@ 2020-08-01  6:30 Michael Heerdegen
  2020-08-01 10:02 ` Stefan Kangas
                   ` (6 more replies)
  0 siblings, 7 replies; 12+ messages in thread
From: Michael Heerdegen @ 2020-08-01  6:30 UTC (permalink / raw)
  To: 42644


Hello,

I want to suggest to make the functions `max' and `min' accept zero
arguments, with

  (max) => negative infinity
  (min) => positive infinity

That would be mathematically consistent, and would offer an easier to
remember syntax to specify the infinities (at least for mathematicians).
I hate the read syntax suggested in the manual, I have to look it up
every single time.  Ironically, most of the time I use it it's the
initial value for a max or min number sequence folding.

`seq-max' and `seq-min' should also support it.

TIA,

Michael.


In GNU Emacs 28.0.50 (build 161, x86_64-pc-linux-gnu, GTK+ Version 3.24.20, cairo version 1.16.0)
 of 2020-07-31 built on drachen
Repository revision: 26cf87416ffec74f4ffb05f652c927b75f5ee482
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12008000
System Description: Debian GNU/Linux bullseye/sid






^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2022-02-12  8:09 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-01  6:30 bug#42644: 28.0.50; Please let max and min accept zero arguments Michael Heerdegen
2020-08-01 10:02 ` Stefan Kangas
2020-08-01 10:21 ` Andy Moreton
2020-08-01 10:21 ` Mattias Engdegård
2020-08-01 16:31 ` Drew Adams
2020-08-01 23:34 ` Michael Heerdegen
2020-08-02  4:02   ` Lars Ingebrigtsen
2020-08-02  6:43 ` Dmitry Alexandrov
2020-08-03  2:08   ` Michael Heerdegen
2020-08-03 11:05     ` Stefan Kangas
2020-08-03 17:11     ` Dmitry Alexandrov
2022-02-12  8:09 ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).