help-gnu-emacs
[Top][All Lists]
Advanced

[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 <address@hidden> 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


reply via email to

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