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: Fri, 23 Jan 2015 04:02:18 -0800 Message-ID: <54C2384A.2030707@dancol.org> References: <54C15ECA.5050008@dancol.org> <87egqlvl86.fsf@newcastle.ac.uk> <878ugtvhkw.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="QLWP4IqkufMvMr0hH8Rm5ocuCu6Ba1vBw" X-Trace: ger.gmane.org 1422014560 22634 80.91.229.3 (23 Jan 2015 12:02:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 23 Jan 2015 12:02:40 +0000 (UTC) Cc: Stefan Monnier , emacs-devel@gnu.org To: Phillip Lord , Oleh Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 23 13:02:39 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 1YEcwd-000543-FZ for ged-emacs-devel@m.gmane.org; Fri, 23 Jan 2015 13:02:35 +0100 Original-Received: from localhost ([::1]:58295 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YEcwc-000412-SZ for ged-emacs-devel@m.gmane.org; Fri, 23 Jan 2015 07:02:34 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59001) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YEcwQ-00040s-4h for emacs-devel@gnu.org; Fri, 23 Jan 2015 07:02:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YEcwP-0005yp-8L for emacs-devel@gnu.org; Fri, 23 Jan 2015 07:02:22 -0500 Original-Received: from dancol.org ([2600:3c01::f03c:91ff:fedf:adf3]:39530) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YEcwO-0005yl-VB for emacs-devel@gnu.org; Fri, 23 Jan 2015 07:02:21 -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=QSEAY+SxluPzHECqQnlQieg+tGHWe+FfSGxaXPfx6qk=; b=oVPe31LSbzNTsaFKwTNm7z+jjEawWX+zYDMZHNaQ3DX+EXdqpWlgg6dm7HiqmsV40Zf+fzhihw12l0zoGlvoC/+Zm3bcFi+w3GnsKn1k3U7oIoOsbzWctZXfeDClKCqV6eOfh177ECAyps7tvtMYlLwQlQupD2Tj2kJkSyXnReECSWdw0x/kxnxs40oz7PfmX3q6alr+6tNRysjTr4w2FEfOoi1JeABDSNcCwoaG416VuKNIgJ7NAkmxxLSBPJH2KEVrmPV0t7eu7Hs7EAd9O210E3Y8vlj5OSG8S3WGH9y37fBZ+pVvsA/2NaCJi1Q2lFh+Xg0UvpqmN8XM8ceRLw==; 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 1YEcwO-0002m9-3K; Fri, 23 Jan 2015 04:02:20 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 In-Reply-To: <878ugtvhkw.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:181667 Archived-At: This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --QLWP4IqkufMvMr0hH8Rm5ocuCu6Ba1vBw Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 01/23/2015 03:53 AM, Phillip Lord wrote: >> This would be easy to implement, since this is just an extension of >> the `backquote' and `short-lambda' method to 26 reader macros. >=20 >=20 > That would work, but I don't think it's necessary -- if there is a > compile time lookup, it's just as efficient.=20 I've found that people who engage in handwringing about efficiency of a system they don't understand produce terrible code. Try implementing it before worrying about micro-optimizations. You're over-thinking the semantics too. The whole point of Stefan's proposal is that it's very simple, but still delivers most of the benefits of unrestricted reader macro support. Qualifiers like "by convention, identifiers would have to restricted..." is a step down the road to adding overgrown Clojure ceremony for everything, something I definitely do not want in Emacs Lisp. --QLWP4IqkufMvMr0hH8Rm5ocuCu6Ba1vBw 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 iQIcBAEBCAAGBQJUwjhKAAoJEN4WImmbpWBlAZ0P/2/UpOIIZSzkjAG3bQU5jU9f T9rvB9hKkQBLmiAseWKXRY/om/eXmLZPPSfEH0etgvekuQP1UFphV5HF5nSknvM4 3KEzGtBYvIegzpV+5X582xGYDoITldvR0GMKjjs+QVesA9I4bekisEAtJeJ7bZFo mEQ1m2ANT7UGBaFnAzf1nF3mnADuaqa1dAmmtiLr/uHc+0jJ6P6i2nTlN8sLQUxw GHkB79ulGw+q249hcmUTl0bEUwS7ozv+q6uAUaAlqmpm37Oygc8MDd8uax9wMn0p hNG2IfMFQ9StY6M8MTZNcFuVGvVXstfD7s6t7Jev+Qy3OO+KmxSAh3xj2fTKiLKk iigiI1Qx2HLSVNgrFsIwMiHXms+3iJBTWF+x1Sl1p89C8+TjG3SArOKvE0XN/oIR Qgva4K8oZR5KeqhzI3igz99+G/TNnkxvqiVKwBCe2P3sW+dP9PqxUszZCCFFULFG FO6LD1eUDWPa1DzkFA99PkybeNC8Bbg/DvA4mEmzwjJILe2lKg2AHdcghW0NhJHA PCsMjM64e2Fhj2kyELIiS7pAYtD7e02zboJ00o8lUIpOvHv9WitCErbqwxS7z41v 444zPMVnl/I+ZXeQXkAOdshl+ueTdm3BFurb7hCkHyRVHfAtFw7scGjOMAf9P9eT tpkCZ5yjgOkRCqFurG4T =D5Lq -----END PGP SIGNATURE----- --QLWP4IqkufMvMr0hH8Rm5ocuCu6Ba1vBw--