[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: plists, alists, and hashtables
From: |
Ted Zlatanov |
Subject: |
Re: plists, alists, and hashtables |
Date: |
Wed, 05 Aug 2015 21:32:14 -0400 |
User-agent: |
Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) |
On Wed, 05 Aug 2015 16:45:38 -0400 Stefan Monnier <monnier@iro.umontreal.ca>
wrote:
RT> There may be alternatives though. For example, instead of:
RT> #s(hash-table size 65 test eql rehash-size 1.5 rehash-threshold 0.8 data ())
RT> We could have a shorthand, perhaps #s(h data)
...
SM> ? I think it's going to be hard to convince that the few use cases will
SM> be enough to justify all the work.
My primary use case is "I want to *express* a map, not a list; I want it to
look like a map, not a list; and I want the reader to actually reject it
if it's not a valid map." I feel that facilitating that at the ELisp
reader level, with a hashtable backend, would improve ELisp usability.
And maybe ELisp users will like it.
Ted
- Re: plists, alists, and hashtables, Ted Zlatanov, 2015/08/05
- Re: plists, alists, and hashtables, Stefan Monnier, 2015/08/05
- RE: plists, alists, and hashtables, Drew Adams, 2015/08/05
- Re: plists, alists, and hashtables, Pascal J. Bourguignon, 2015/08/05
- Message not available
- Re: plists, alists, and hashtables,
Ted Zlatanov <=
- Message not available