[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Making 'eq' == 'eql' in bignum branch
From: |
Helmut Eller |
Subject: |
Re: Making 'eq' == 'eql' in bignum branch |
Date: |
Mon, 20 Aug 2018 19:21:33 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
On Mon, Aug 20 2018, Paul Eggert wrote:
> As I recall, Gerd introduced most-positive-fixnum and
> most-negative-fixnum to Emacs Lisp in 2001, as it was a good idea
> taken from Common Lisp. However, fixnump and bignump are not in Common
> Lisp, and we don't need them in Emacs Lisp either. When we're
> reinventing the wheel why add unnecessary gizmos?
Common Lisp doesn't have so many type predicates because it has TYPEP.
Both FIXNUM and BIGNUM are standard types in Common Lisp. The BIGNUM
type is actually defined as (AND INTEGER (NOT FIXNUM)). So if you
remove fixnump then at least make typep (and typecase etc.) work with
'fixnum and 'bignum type specifiers.
Helmut
- Re: Making 'eq' == 'eql' in bignum branch, (continued)
- Re: Making 'eq' == 'eql' in bignum branch, Stefan Monnier, 2018/08/30
- Re: Making 'eq' == 'eql' in bignum branch, Paul Eggert, 2018/08/31
- Re: Making 'eq' == 'eql' in bignum branch, Richard Stallman, 2018/08/28
- Re: Making 'eq' == 'eql' in bignum branch, Johan Bockgård, 2018/08/30
- Re: Making 'eq' == 'eql' in bignum branch, Clément Pit-Claudel, 2018/08/30
- Re: Making 'eq' == 'eql' in bignum branch, Tom Tromey, 2018/08/30
- Re: Making 'eq' == 'eql' in bignum branch, Clément Pit-Claudel, 2018/08/30
- Re: Making 'eq' == 'eql' in bignum branch, Stefan Monnier, 2018/08/20
- Re: Making 'eq' == 'eql' in bignum branch, Eli Zaretskii, 2018/08/20
- Re: Making 'eq' == 'eql' in bignum branch, Paul Eggert, 2018/08/20
- Re: Making 'eq' == 'eql' in bignum branch,
Helmut Eller <=
- Re: Making 'eq' == 'eql' in bignum branch, Stefan Monnier, 2018/08/20