From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.devel Subject: RE: [PATCH] Clojure-like syntactic sugar for an anonymous function literal Date: Wed, 21 Jan 2015 18:21:43 -0800 (PST) Message-ID: <4b967d4a-ed4f-4034-bb93-0f67755b4140@default> References: <54C05269.7050602@dancol.org> 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 1421893326 13578 80.91.229.3 (22 Jan 2015 02:22:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 22 Jan 2015 02:22:06 +0000 (UTC) To: Daniel Colascione , Oleh , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 22 03:22:06 2015 Return-path: Envelope-to: ged-emacs-devel@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 1YE7PI-0001QB-VZ for ged-emacs-devel@m.gmane.org; Thu, 22 Jan 2015 03:22:05 +0100 Original-Received: from localhost ([::1]:50862 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YE7PI-0001Dh-DA for ged-emacs-devel@m.gmane.org; Wed, 21 Jan 2015 21:22:04 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53597) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YE7PE-0001DR-Qh for emacs-devel@gnu.org; Wed, 21 Jan 2015 21:22:01 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YE7PB-0006PY-LF for emacs-devel@gnu.org; Wed, 21 Jan 2015 21:22:00 -0500 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:29099) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YE7PB-0006PU-FC for emacs-devel@gnu.org; Wed, 21 Jan 2015 21:21:57 -0500 Original-Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id t0M2Lj1v018847 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 22 Jan 2015 02:21:45 GMT Original-Received: from aserz7021.oracle.com (aserz7021.oracle.com [141.146.126.230]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id t0M2LiQ3002507 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Thu, 22 Jan 2015 02:21:44 GMT Original-Received: from abhmp0019.oracle.com (abhmp0019.oracle.com [141.146.116.25]) by aserz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id t0M2Li2E002504; Thu, 22 Jan 2015 02:21:44 GMT In-Reply-To: <54C05269.7050602@dancol.org> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8.2 (807160) [OL 12.0.6691.5000 (x86)] X-Source-IP: acsinet21.oracle.com [141.146.126.237] 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: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:181547 Archived-At: > > The goal is to add a new reader syntax: > > #(foo bar) should translate to (short-lambda (foo bar)) >=20 > Thanks, but I'd strongly prefer not to baking this syntax into the elisp > reader. IME, we tend not to use anonymous lambas enough to matter. > Clojure is idiomatically pure-functional; we're not. >=20 > I'd be more receptive to a generalized, CL-style reader-macro facility. > You could then use that to implement this syntax, but locally. +1 on all accounts, but especially for a CL-style reader-macro facility.