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: Wed, 21 Jan 2015 17:29:13 -0800 Message-ID: <54C05269.7050602@dancol.org> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="fbmdQVUwi1hVHEEPfBJbU8wf29SpxU3eP" X-Trace: ger.gmane.org 1421890179 32215 80.91.229.3 (22 Jan 2015 01:29:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 22 Jan 2015 01:29:39 +0000 (UTC) To: Oleh , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 22 02:29:38 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 1YE6aX-0003pZ-Ja for ged-emacs-devel@m.gmane.org; Thu, 22 Jan 2015 02:29:37 +0100 Original-Received: from localhost ([::1]:50787 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YE6aW-0008W5-Gi for ged-emacs-devel@m.gmane.org; Wed, 21 Jan 2015 20:29:36 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46390) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YE6aJ-0008Vz-OQ for emacs-devel@gnu.org; Wed, 21 Jan 2015 20:29:24 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YE6aI-0000BC-TS for emacs-devel@gnu.org; Wed, 21 Jan 2015 20:29:23 -0500 Original-Received: from dancol.org ([2600:3c01::f03c:91ff:fedf:adf3]:57935) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YE6aI-0000B6-Jl for emacs-devel@gnu.org; Wed, 21 Jan 2015 20:29:22 -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:To:MIME-Version:From:Date:Message-ID; bh=voZHNOGz5Eu59ZuUXyRg/w3VOwve7cEpLmTG3pFPv+A=; b=oSXYegM0xUXbw8ID9GtkoQs6sqwj7xjFPNlBFXz8AcnFPA4lvTXbFXK8Zb3sunAONR/7SUx2Du2h/3rz9Dz7TF+KamW37geyhxtCyGzxNBwlrwOF3dwnlaSJYhYKGQXjjVJYKVX7un2uunzAZA+FWEExsEPTqYteRvXnLl43F6T51WibWWovpzJ7NdYLpvzUDYy9eIYTik08Bkk4Izxhp3DT/lCTJeaX2zSk0u0mR9FA1nqQe+cLhNTplQuZzabfizceofiOnS19SyNmEWkmAA4PRxhgZhyIG7yuhCAUipgoCZbddvBInvy8WOVuMvaQWb7G9IYlVxA4agArLLL37A==; 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 1YE6aG-0004wq-Vg; Wed, 21 Jan 2015 17:29:21 -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:181545 Archived-At: This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --fbmdQVUwi1hVHEEPfBJbU8wf29SpxU3eP Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 01/21/2015 01:38 PM, Oleh wrote: > Hi all, >=20 > This is my first attempt of modifying the C source of Emacs. > The goal is to add a new reader syntax: >=20 > #(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. Clojure is idiomatically pure-functional; we're not. I'd be more receptive to a generalized, CL-style reader-macro facility. You could then use that to implement this syntax, but locally. --fbmdQVUwi1hVHEEPfBJbU8wf29SpxU3eP 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 iQIcBAEBCAAGBQJUwFJpAAoJEN4WImmbpWBl818P/Ar9lvSBxiKQKqbtbja0ML0I oXhNZF9myfOiG/CwvXRZRH9WkfGKzEjye2uDYOrM7IvoxmFnij9iHg56p4AJo7Dt SIdPueayHE7zDEWKXysST2cgT4DVj368EYse1dL5fFqUXmKe4RuWyirOgmsh6PNa HxomQqDfFsLYLipqOyBzUJt9cMYEGlkKOlnZXcmNEQcqxVoY5W5DFe+/RunOC3xq 3I/UzsApCzRc5aFRCH0g07iseHXIv5vv0yOeDvK46+Mq4adiGHtJuZqmWK2uoxmx EJntcIg/z8wqf7eotFFDCZug3mySqqVRql5CSFFsqoshf6byE/b5MibeFlnmoJ4P uEaq5sdmxHh/SL/IoOHZcGbAlp54kspGvYtO4vdboEBbLc/38MxMj6qqw9drwHM7 6FCzVrpox+nlL8jw3/QxFg9UVA8vN36F1WlaVFL04evwqu6lPpd340ZXGWy1Mmx5 BcHYJbkTjW0Ty2tDmG7hlvndUIRAiqBrmSxCZMLFSCca6as1nmVjPDBSrrfiRh+u PFl4u91z1z8BdVxUT2lwFu/ULnamoIjSafSw4viC6ECAZRGOX1e7ke/CvXgStB/9 /yeTXoEInzohwpj4N4chWWN8MnaJ9lh2uIPpx3riQOcg6YvxsdgxMAs55eGAxJ2h MLbfnyvgXwD8U79ESar2 =I36i -----END PGP SIGNATURE----- --fbmdQVUwi1hVHEEPfBJbU8wf29SpxU3eP--