From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stephen J. Turnbull" Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Clojure-like syntactic sugar for an anonymous function literal Date: Fri, 23 Jan 2015 10:11:34 +0900 Message-ID: <87zj9ati61.fsf@uwakimon.sk.tsukuba.ac.jp> References: <54C05269.7050602@dancol.org> <87oaprfa3t.fsf@fencepost.gnu.org> <877fwfunnz.fsf@uwakimon.sk.tsukuba.ac.jp> <873872vq5v.fsf@uwakimon.sk.tsukuba.ac.jp> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Trace: ger.gmane.org 1421975505 6885 80.91.229.3 (23 Jan 2015 01:11:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 23 Jan 2015 01:11:45 +0000 (UTC) Cc: "emacs-devel@gnu.org" To: Oleh Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 23 02:11:44 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 1YESmm-0000nO-A2 for ged-emacs-devel@m.gmane.org; Fri, 23 Jan 2015 02:11:44 +0100 Original-Received: from localhost ([::1]:56694 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YESml-0003wP-J4 for ged-emacs-devel@m.gmane.org; Thu, 22 Jan 2015 20:11:43 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45609) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YESmh-0003wI-UG for emacs-devel@gnu.org; Thu, 22 Jan 2015 20:11:41 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YESme-0007yN-Ib for emacs-devel@gnu.org; Thu, 22 Jan 2015 20:11:39 -0500 Original-Received: from shako.sk.tsukuba.ac.jp ([130.158.97.161]:33446) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YESme-0007xw-8G for emacs-devel@gnu.org; Thu, 22 Jan 2015 20:11:36 -0500 Original-Received: from uwakimon.sk.tsukuba.ac.jp (uwakimon.sk.tsukuba.ac.jp [130.158.99.156]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by shako.sk.tsukuba.ac.jp (Postfix) with ESMTPS id E635D1C387C; Fri, 23 Jan 2015 10:11:34 +0900 (JST) Original-Received: by uwakimon.sk.tsukuba.ac.jp (Postfix, from userid 1000) id CDAF21A2D18; Fri, 23 Jan 2015 10:11:34 +0900 (JST) In-Reply-To: X-Mailer: VM undefined under 21.5 (beta34) "kale" acf1c26e3019 XEmacs Lucid (x86_64-unknown-linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 130.158.97.161 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:181644 Archived-At: Oleh writes: > > > How is `dash' better? > > > > It's not in XEmacs core, so I don't have to look at it. > > Still, I would not mark it as "Problem solved". For many people, > Emacs is unusable without third party packages, where solutions to > like `dash' surface to problems that could be better solved in the > core. I disagree that it's a problem, and I disagree that it's a better solution even if my users were to say it's a problem. > > The proposed "short-lambda" is pure sugar and adds zero expressiveness > > to the language. Furthermore, in Emacsen it would be subject to > > substantial abuse (eg, in hooks where anonymous functions are a bad > > idea). > > Of course it's pure sugar. It's short-lambda's sole intention. > > But isn't the backquote also pure sugar? Yes, in some sense, but in another, it is not: backquote adds a template language to Lisp, which in combination with macros is very expressive. Short-lambda just makes it easier to write obscure code concisely.