From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daniel Colascione Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Clojure-like syntactic sugar for an anonymous function literal Date: Thu, 22 Jan 2015 01:45:43 -0800 Message-ID: <54C0C6C7.10804@dancol.org> References: <54C05269.7050602@dancol.org> <87oaprfa3t.fsf@fencepost.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Vnh5LLprs7gigbXuFbaAn6KEniOwvw058" X-Trace: ger.gmane.org 1421919967 21035 80.91.229.3 (22 Jan 2015 09:46:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 22 Jan 2015 09:46:07 +0000 (UTC) Cc: Oleh , "emacs-devel@gnu.org" To: Rene@Kyllingstad.com, David Kastrup Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 22 10:46:05 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 1YEEKz-0000Nn-JZ for ged-emacs-devel@m.gmane.org; Thu, 22 Jan 2015 10:46:05 +0100 Original-Received: from localhost ([::1]:52030 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YEEKz-0003J9-5M for ged-emacs-devel@m.gmane.org; Thu, 22 Jan 2015 04:46:05 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43699) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YEEKk-0003HB-8r for emacs-devel@gnu.org; Thu, 22 Jan 2015 04:45:51 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YEEKg-0000id-Af for emacs-devel@gnu.org; Thu, 22 Jan 2015 04:45:50 -0500 Original-Received: from dancol.org ([2600:3c01::f03c:91ff:fedf:adf3]:60287) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YEEKg-0000iE-11 for emacs-devel@gnu.org; Thu, 22 Jan 2015 04:45:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dancol.org; s=x; h=Content-Type:In-Reply-To:References:Subject:CC:To:MIME-Version:From:Date:Message-ID; bh=EyPQvE8exPN4Q3UGHlymYMEbSb/2rOrKtN3u11GRFuM=; b=fHpAA+39Nnvte8vd/Q3bpWW2FA4/kn49+t9lihHcuLpQIqmh5kMn90WeRRqKrFFTZPjfa/HAdtHAXVekKZI079fixFp4aOWmSyJtxf9TCSqS1QWF0LIjHcyV71N13lHO4avGGCZCMB9ifXh7ySL8PR+7pCJS7Cun1ztOaU1kvB8ntvR6uDfdB8HlAx0FT26N0wqbYSp0gou+av6RaCO19FPWU8PR7cjp69vGbVamp1tQcSCFxGvQZZz0DiHRg2Fi0Ta67RNK/b6c7TAjnngj1IxK103U1ffZdtARXiT3YkeFokqsMpB2SmtlGXS1ilbgoN+DwGHmAwdGet4XwO9INw==; Original-Received: from [2601:8:b240:93::2b1] by dancol.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84) (envelope-from ) id 1YEEKf-0008UC-06; Thu, 22 Jan 2015 01:45:45 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2600:3c01::f03c:91ff:fedf:adf3 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:181569 Archived-At: This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --Vnh5LLprs7gigbXuFbaAn6KEniOwvw058 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 01/22/2015 01:35 AM, Ren=C3=A9 Kyllingstad wrote: > On Thu, Jan 22, 2015 at 10:17 AM, David Kastrup wrote: >> That does not mean that I am convinced we want or need short-lambda. >=20 > Both C++ and Java have "recently" added a succinct syntax for their equ= ivalents. They have, although Boost.Lambda is arguable even terser than what ended up in the standard. What makes the C++ and Java improvements different is that the alternatives available in the old dialects of C++ and Java were _far_ more verbose than the new syntax, so the relative gain was larger than we'd see with the syntax proposed in this thread. lambda is terse enough already that we don't need a new, even terser syntax. A better comparison is ES6 JavaScript's new short function syntax, which replaces something like this: function(arg) { return foo(arg); } with arg =3D> foo(arg) That's still a much bigger relative improvement than we'd get from compressing the lambda symbol down to nothing. ES6 arrows are also this-capturing, which is a much-needed improvement in that language. We have no such problem. --Vnh5LLprs7gigbXuFbaAn6KEniOwvw058 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCAAGBQJUwMbHAAoJEN4WImmbpWBlKOcP/jy6bLRsHIneRI4lv/ZTGG7w ImbQXYtNjaXWccwG9UhMpB5Zfc+6MdnLJVz3xOK66MOhoueqQQ81G9B1WdX+/2/r gvdCZg/hbYDdXEVRRDxd1E4GnIsgTBPjV/Xlxv9UIzpohilShIqLXeRWblNajkNn 0k+X0LWaBSBNFBXgIN9DTAVtn2cVyUPmH8gbsrQZPZOFIlgujX69Rv9+iLRlyRQ1 BjdmMMGznDagD5YG+HWM7VDqcGeMBWeO5byCFYTz9py4qae9YrA4BaPa6ETogGJM kzTmI/V3zcpKf0cxPdXTfHG04zTxy3NmTotCXklWI1OyXS5Fnam5tv+Q+aKPbCGQ RvvZAlcFMcgQoNp4sbiH1qb6c3NHqftmNPscqNvDlfGQgr9tebhi8ekEs6N5B/gE U9ZxiaVgeawH7z3PsnGY6/3pTbFsho+PWX3D98yQgRVATUkIhLyYVmIAyUEeoYSa jDBYgYb6oibig98zw0EV/2BoHN+bf7wD2Hl9mQo0++xehV3/Py2EnE4/74RV1647 TUaQrU4YEjKAGILgnwWDv/iegDMzYr2tQWYaUXKZDugLL6qo0w1ysCZfiHGyNNJc DTYG04TvjG2+6ZXn4Lvg0Vmp0QZn5IYYNn2Cwqsq17OQN7OdjRicQ9wbKlgVPUDs f45eBYyT8L5cAZwYHVGL =F23t -----END PGP SIGNATURE----- --Vnh5LLprs7gigbXuFbaAn6KEniOwvw058--