[Top][All Lists]

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

Re: Making 'eq' == 'eql' in bignum branch

From: Richard Stallman
Subject: Re: Making 'eq' == 'eql' in bignum branch
Date: Mon, 27 Aug 2018 18:50:39 -0400

[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

  > I usually use 1.0e+INF and -1.0e+INF when I need a neutral element
  > for min and max respectively, rather than most-positive-fixnum.
  > Is there anything wrong with that?

Only that it is a magic sequence that most programmers won't remember.
We could put it in the doc strings and manual.

But perhaps nil is better.

                                        If not, I think we don't even
  > need to change min and max at all.

Why NOT make nil work here?  It would be useful in a number of ways,
I think.  For instance, you could run mapcar with a function
that would produce a number or nil, and nil would mean "ignore this one",
then apply max or min.

Dr Richard Stallman
President, Free Software Foundation (https://gnu.org, https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)

reply via email to

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