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 04:49:34 -0800 Message-ID: <54C0F1DE.2020300@dancol.org> References: <54C05269.7050602@dancol.org> <87h9vj6kzz.fsf@newcastle.ac.uk> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="8D3TP7598Tukx7pO8Tqj80NbiiMt9D5eN" X-Trace: ger.gmane.org 1421931007 11317 80.91.229.3 (22 Jan 2015 12:50:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 22 Jan 2015 12:50:07 +0000 (UTC) Cc: Oleh , emacs-devel To: Phillip Lord , Artur Malabarba Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 22 13:50:02 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 1YEHCz-00048q-VK for ged-emacs-devel@m.gmane.org; Thu, 22 Jan 2015 13:50:02 +0100 Original-Received: from localhost ([::1]:52904 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YEHCz-00073c-CE for ged-emacs-devel@m.gmane.org; Thu, 22 Jan 2015 07:50:01 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40415) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YEHCj-00073U-8A for emacs-devel@gnu.org; Thu, 22 Jan 2015 07:49:46 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YEHCi-00040b-7g for emacs-devel@gnu.org; Thu, 22 Jan 2015 07:49:45 -0500 Original-Received: from dancol.org ([2600:3c01::f03c:91ff:fedf:adf3]:32935) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YEHCh-00040P-UJ for emacs-devel@gnu.org; Thu, 22 Jan 2015 07:49:44 -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=NxRjkOtsQ+W6XqKDB7+ZXobFUmFPycj+dcxe0TQCt+U=; b=GckscbpKUYYjQnp4zVVlTDPtKdCNAGHnLsNoYNAA/TLqtWzIrA9JTUkc+mCH81hrbD7MBwp3rFo0qYquht6Hlhh0+mb2tPULpnHCKM0KLnJAM7ahLfDCMF/8WwHWkU5YwibPMTYgdHytpkKjFpCs1FYXy2o3ys4aP9DGNXxTLpB8bKl8y6ddWFQ7lmNMBttCBAFm5hkk59+1nk/vv/qjdeLkq6usOzmBeZGND+Po3fpGmMRWr83nvkzbalQKPv0/rsstYu27lgVoyqzXXAEO+0fh5UKTiT2mNELlFX/3ObIms/apEVIOPqeWJTEWHjtGrNppG2DzwbC8aTfWCtMXXw==; Original-Received: from [2620:10d:c0a1:1100::1000] by dancol.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84) (envelope-from ) id 1YEHCg-0001NO-VK; Thu, 22 Jan 2015 04:49:43 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 In-Reply-To: <87h9vj6kzz.fsf@newcastle.ac.uk> 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:181592 Archived-At: This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --8D3TP7598Tukx7pO8Tqj80NbiiMt9D5eN Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 01/22/2015 04:46 AM, Phillip Lord wrote: > Artur Malabarba writes: >=20 >>> Thanks, but I'd strongly prefer not to baking this syntax into the el= isp >>> reader. IME, we tend not to use anonymous lambas enough to matter. >>> Clojure is idiomatically pure-functional; we're not. >> >> It's not much about how pure-functional the language is, it's about >> how useful the feature would be. >> Later on this thread you report over 6800 lambdas in the code. How >> many would have been enough? >> >>> I'd be more receptive to a generalized, CL-style reader-macro facilit= y. >>> You could then use that to implement this syntax, but locally. >> >> I have nothing against implementing this feature, but it would be more= >> complicated to implement and probably end up being less used than the >> suggested feature. Why not have a shorthand lambda as well? >=20 >=20 > The prospect of 30 implementations of shorthand lambdas does not fill b= e > with joy either. If there were reader macros then the question as to > whether to implement short hand lambdas would still come up. And the people who care for this shorthand syntax can do their experiments out-of-tree, where they belong. It's unlikely that short lambda syntax will ever make it into the Emacs core. --8D3TP7598Tukx7pO8Tqj80NbiiMt9D5eN 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 iQIcBAEBCAAGBQJUwPHeAAoJEN4WImmbpWBlZ+gP+QGVmr91b4UunT0vhbtgh2o8 st7eWaMvC1LO3UysJko4nm6gxOfGhgnFT5uJiwTzuR3U+j6K30EfZUav0LZuQaob zcNekzZSr30rK0EAjjyLjUI+LsD6PkA9Y3yEvV5DY4HlB4Ivhe53lyOQbjEIiRVY K30EJXFfRYJ052mZvEwmE98UfvGVt6kTePruuTeTRe4Xo6RdL2ouUXASdMik/jL5 bVn9Rd97G2Gm02AAL1GUBa2xj3PDat6WS6AuCPBvp4XEZ4qjASC5Nf5QRTdasL0l RCij7HTxLR6XuE1HKNPec4CwXdEiJKnjFMZOt5HXmXeL3d3/8Z7zY7uX/5MfeD8X rQUF5zfC756i/Y82TN0Muyqt1m0F9eQAGyzZCKNI/0TwpCIuoIJdIRSnCwBoDA24 5wLnT3nbDaPIlyqcjTNSRrwne8nVmPg8AufZOjKEgkL2kpctQvUNKAXTTZHIuQhi ySdKX3UQTr/mZt+RXUQp9OMOWnvi3tIicyWEaH8hNvpexDW08IGYVCUK0Kid8OuA xyheutha5EcaHNcc8jTTG2whKRV0SJ6exjvE4vprsb23am4ldlNak/GugAuBdiot QZRBYXBXykml82dZJEB2ZLRSIfrGaitSNZgL4V1SWUcpcfC8bMkKf8dw0MlTxLQE oYQapFIiIIsGiUlOXFfi =8Esx -----END PGP SIGNATURE----- --8D3TP7598Tukx7pO8Tqj80NbiiMt9D5eN--