From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Clojure-like syntactic sugar for an anonymous function literal Date: Thu, 22 Jan 2015 10:17:10 +0100 Message-ID: <87oaprfa3t.fsf@fencepost.gnu.org> References: <54C05269.7050602@dancol.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1421918241 26093 80.91.229.3 (22 Jan 2015 09:17:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 22 Jan 2015 09:17:21 +0000 (UTC) Cc: Daniel Colascione , Oleh , "emacs-devel@gnu.org" To: =?iso-8859-1?Q?Ren=E9?= Kyllingstad Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 22 10:17:19 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 1YEDt9-0001ZT-1W for ged-emacs-devel@m.gmane.org; Thu, 22 Jan 2015 10:17:19 +0100 Original-Received: from localhost ([::1]:51940 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YEDt8-0001zz-7N for ged-emacs-devel@m.gmane.org; Thu, 22 Jan 2015 04:17:18 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36626) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YEDt2-0001ys-UJ for emacs-devel@gnu.org; Thu, 22 Jan 2015 04:17:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YEDt1-000430-Uw for emacs-devel@gnu.org; Thu, 22 Jan 2015 04:17:12 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50195) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YEDt1-00042u-RQ for emacs-devel@gnu.org; Thu, 22 Jan 2015 04:17:11 -0500 Original-Received: from localhost ([127.0.0.1]:57369 helo=lola) by fencepost.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YEDt1-00032U-7R; Thu, 22 Jan 2015 04:17:11 -0500 Original-Received: by lola (Postfix, from userid 1000) id CAD36DF3F4; Thu, 22 Jan 2015 10:17:10 +0100 (CET) In-Reply-To: (=?iso-8859-1?Q?=22Ren=E9?= Kyllingstad"'s message of "Thu, 22 Jan 2015 09:52:25 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e 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:181562 Archived-At: Ren=E9 Kyllingstad writes: > On Thursday, January 22, 2015, Daniel Colascione wrot= e: >> >> On 01/21/2015 01:38 PM, Oleh wrote: >> > Hi all, >> > >> > This is my first attempt of modifying the C source of Emacs. >> > The goal is to add a new reader syntax: >> > >> > #(foo bar) should translate to (short-lambda (foo bar)) >> >> 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. > > This syntax makes anonymous lambdas dramatically more attractive IMHO, > so I would not use current usage as an argument against it. Anonymous lambdas become considerably more useful once you have lexical scoping. The latter has not been around long enough to have had a major impact on Elisp programming styles yet. That does not mean that I am convinced we want or need short-lambda. --=20 David Kastrup