[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: hash-table-{to, from}-alist
From: |
Ted Zlatanov |
Subject: |
Re: hash-table-{to, from}-alist |
Date: |
Mon, 24 Nov 2008 11:21:24 -0600 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.60 (gnu/linux) |
On Mon, 24 Nov 2008 10:44:44 -0500 Richard M Stallman <address@hidden> wrote:
RMS> BTW, it turns out that in XEmacs and its descendants prin1 uses the CL
RMS> structure syntax when `print-readably' is bound to t:
RMS> #s(hash-table size 1 data (x x-value))
RMS> Being compatible with that seems like a good idea,
RMS> if there is no obstacle.
The equality test is necessary if it was given originally (meaning, if
it's not 'eql). I don't think we should ever omit it, even if it's the
default value, for readability.
The :weakness, :rehash-size, and :rehash-threshold options to
make-hash-table, can probably be omitted when they are the defaults.
Would this work?
#s(hash-table size 2 test equal data (k1 v1) (k2 v2))
Finally, the size is just a hint with make-hash-table; should the (read)
allow wrong sizes or throw an error?
Thanks
Ted
- Re: hash-table-{to, from}-alist, (continued)
- Re: hash-table-{to, from}-alist, Stefan Monnier, 2008/11/21
- Re: hash-table-{to, from}-alist, Ted Zlatanov, 2008/11/21
- Re: hash-table-{to, from}-alist, Stefan Monnier, 2008/11/21
- Re: hash-table-{to, from}-alist, tomas, 2008/11/22
- Re: hash-table-{to, from}-alist, Stephen J. Turnbull, 2008/11/22
- Re: hash-table-{to, from}-alist, tomas, 2008/11/22
- Re: hash-table-{to, from}-alist, Stephen J. Turnbull, 2008/11/22
- Re: hash-table-{to, from}-alist, Richard M Stallman, 2008/11/24
- Re: hash-table-{to, from}-alist, Stefan Monnier, 2008/11/24
- Re: hash-table-{to, from}-alist,
Ted Zlatanov <=
- Re: hash-table-{to, from}-alist, Stephen J. Turnbull, 2008/11/24
- Re: hash-table-{to, from}-alist, Ted Zlatanov, 2008/11/25
- Re: hash-table-{to, from}-alist, Ted Zlatanov, 2008/11/25
- Re: hash-table-{to, from}-alist, Stefan Monnier, 2008/11/25
- Re: hash-table-{to, from}-alist, David De La Harpe Golden, 2008/11/25
- Re: hash-table-{to, from}-alist, Stefan Monnier, 2008/11/25
- Re: hash-table-{to, from}-alist, David De La Harpe Golden, 2008/11/26
- Re: hash-table-{to, from}-alist, Stephen J. Turnbull, 2008/11/25
- Re: hash-table-{to, from}-alist, David De La Harpe Golden, 2008/11/25
- Re: hash-table-{to, from}-alist, Ted Zlatanov, 2008/11/26