From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.help Subject: Re: plists, alists, and hashtables Date: Wed, 05 Aug 2015 21:32:14 -0400 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <874mkdurq9.fsf@lifelogs.com> References: <87k2t9bir3.fsf@lifelogs.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1438824928 13435 80.91.229.3 (6 Aug 2015 01:35:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 6 Aug 2015 01:35:28 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Aug 06 03:35:23 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZNA5Y-0005X6-NN for geh-help-gnu-emacs@m.gmane.org; Thu, 06 Aug 2015 03:35:20 +0200 Original-Received: from localhost ([::1]:43006 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZNA5X-0005Vn-QX for geh-help-gnu-emacs@m.gmane.org; Wed, 05 Aug 2015 21:35:19 -0400 Original-Path: usenet.stanford.edu!news.kjsl.com!feeder.erje.net!1.eu.feeder.erje.net!news.albasani.net!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 16 Original-X-Trace: news.albasani.net 1WKpNbJUwIlTZr0V5IULp4NZwjhV8gognI2LUWOvxXFQzQiy/oeXm0KxIh4e4T+yn2ty7JHLra9k47EiPtXZnA== Original-NNTP-Posting-Date: Thu, 6 Aug 2015 01:32:14 +0000 (UTC) Injection-Info: news.albasani.net; logging-data="rX+9A5bhPT9SQNJ/d0gAlL3nU7ccMdEARmzQ6WOv4Z64/u9ryeAvI16RstZASF7HTOkLh3Khp1HgNIczJHXdACyPemPfSddiFnQGahDmhalHQdSj+vIGmBOYPHfCUx6j"; mail-complaints-to="abuse@albasani.net" User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Cancel-Lock: sha1:MvrWGyVpxV+/PLqPPG0iGTnjuCY= sha1:zbpMdL/QyIyipsoe8cD10nXiNRs= Original-Xref: usenet.stanford.edu gnu.emacs.help:213997 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:106282 Archived-At: On Wed, 05 Aug 2015 16:45:38 -0400 Stefan Monnier 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