[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)
- Re: Making 'eq' == 'eql' in bignum branch, (continued)
- Re: Making 'eq' == 'eql' in bignum branch, Stefan Monnier, 2018/08/27
- Re: Making 'eq' == 'eql' in bignum branch, Paul Eggert, 2018/08/27
- Re: Making 'eq' == 'eql' in bignum branch, Eli Zaretskii, 2018/08/27
- Re: Making 'eq' == 'eql' in bignum branch, Stefan Monnier, 2018/08/27
- Re: Making 'eq' == 'eql' in bignum branch, Eli Zaretskii, 2018/08/27
- Re: Making 'eq' == 'eql' in bignum branch, Stefan Monnier, 2018/08/27
- Re: Making 'eq' == 'eql' in bignum branch, Paul Eggert, 2018/08/27
- Re: Making 'eq' == 'eql' in bignum branch, Richard Stallman, 2018/08/26
- Re: Making 'eq' == 'eql' in bignum branch, Clément Pit-Claudel, 2018/08/26
- Re: Making 'eq' == 'eql' in bignum branch, Paul Eggert, 2018/08/26
- Re: Making 'eq' == 'eql' in bignum branch,
Richard Stallman <=
- Re: Making 'eq' == 'eql' in bignum branch, Paul Eggert, 2018/08/27
- Re: Making 'eq' == 'eql' in bignum branch, Tom Tromey, 2018/08/28
- Re: Making 'eq' == 'eql' in bignum branch, Richard Stallman, 2018/08/28
- Re: Making 'eq' == 'eql' in bignum branch, Clément Pit-Claudel, 2018/08/28
- Re: Making 'eq' == 'eql' in bignum branch, Richard Stallman, 2018/08/29
- Re: Making 'eq' == 'eql' in bignum branch, Clément Pit-Claudel, 2018/08/28
- Re: Making 'eq' == 'eql' in bignum branch, Stefan Monnier, 2018/08/28
- Re: Making 'eq' == 'eql' in bignum branch, Clément Pit-Claudel, 2018/08/29
- Re: Making 'eq' == 'eql' in bignum branch, Lars Ingebrigtsen, 2018/08/27
- Re: Making 'eq' == 'eql' in bignum branch, Pip Cet, 2018/08/27