From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.help Subject: RE: plists, alists, and hashtables Date: Wed, 5 Aug 2015 14:36:50 -0700 (PDT) Message-ID: <46508088-943c-4012-b22c-b46d74c41ca4@default> References: <87k2t9bir3.fsf@lifelogs.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1438810647 30429 80.91.229.3 (5 Aug 2015 21:37:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 5 Aug 2015 21:37:27 +0000 (UTC) To: Ted Zlatanov , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Aug 05 23:37:14 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 1ZN6N8-00079t-Az for geh-help-gnu-emacs@m.gmane.org; Wed, 05 Aug 2015 23:37:14 +0200 Original-Received: from localhost ([::1]:42217 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZN6N7-00060u-L6 for geh-help-gnu-emacs@m.gmane.org; Wed, 05 Aug 2015 17:37:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55355) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZN6Mv-00060o-Od for help-gnu-emacs@gnu.org; Wed, 05 Aug 2015 17:37:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZN6Mq-0003H8-Ku for help-gnu-emacs@gnu.org; Wed, 05 Aug 2015 17:37:01 -0400 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:31015) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZN6Mq-0003Fj-EV for help-gnu-emacs@gnu.org; Wed, 05 Aug 2015 17:36:56 -0400 Original-Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id t75Lasgv027193 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 5 Aug 2015 21:36:55 GMT Original-Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserv0022.oracle.com (8.13.8/8.13.8) with ESMTP id t75Lasi0017172 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Wed, 5 Aug 2015 21:36:54 GMT Original-Received: from abhmp0007.oracle.com (abhmp0007.oracle.com [141.146.116.13]) by aserv0122.oracle.com (8.13.8/8.13.8) with ESMTP id t75LapJp023958; Wed, 5 Aug 2015 21:36:54 GMT In-Reply-To: <87k2t9bir3.fsf@lifelogs.com> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6691.5000 (x86)] X-Source-IP: aserv0022.oracle.com [141.146.126.234] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 141.146.126.69 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:106270 Archived-At: > So as a first cut, maybe <(k1 . v1) (k2 . v2)> and > <<(k1 . v1) (k2 . v2)>> would be a good syntax The last thing we need in Emacs Lisp is to gratuitously hard-code such syntax. Half the point of Lisp is to let people define DSLs, including their syntax. Unfortunately, in Emacs Lisp we do not (yet) have reader macros. But that is all the *more* (not less) reason not to hard-code such syntax restrictions into the definition of Lisp itself. Working on adding reader macros to Emacs Lisp would be (very!) helpful. Hard-coding < and << syntax is not helpful (IMHO).