From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: dash.el [was: Re: Imports / inclusion of s.el into Emacs] Date: Mon, 11 May 2020 23:18:07 -0400 Message-ID: References: <0c88192c-3c33-46ed-95cb-b4c6928016e3@default> <87wo5mc04t.fsf@fastmail.fm> <873686bbl5.fsf@russet.org.uk> Reply-To: rms@gnu.org Content-Type: text/plain; charset=Utf-8 Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="104895"; mail-complaints-to="usenet@ciao.gmane.io" Cc: joostkremers@fastmail.fm, ams@gnu.org, emacs-devel@gnu.org To: Phillip Lord Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue May 12 05:22:20 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jYLUq-000RC6-1r for ged-emacs-devel@m.gmane-mx.org; Tue, 12 May 2020 05:22:20 +0200 Original-Received: from localhost ([::1]:54548 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jYLUp-0006Nx-4E for ged-emacs-devel@m.gmane-mx.org; Mon, 11 May 2020 23:22:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55282) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jYLQp-0000oA-RO for emacs-devel@gnu.org; Mon, 11 May 2020 23:18:11 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:58404) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jYLQp-0004js-Hv; Mon, 11 May 2020 23:18:11 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1jYLQl-0004Sk-Cy; Mon, 11 May 2020 23:18:07 -0400 In-Reply-To: <873686bbl5.fsf@russet.org.uk> (message from Phillip Lord on Mon, 11 May 2020 18:55:34 +0100) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:249931 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > It would be a library rewrite because Magnar mostly defines the function > forms in terms of the anaphoric macros. I did not suggest eliminating the anaphoric macros. I think they are good. Rather, I suggested extending them to support also the function-based calling conventions. Thus, the anaphoric macro would support both forms of the construct. > (map #(/ % 2) '(2 4 6 8)) > It's quite neat (the % being the equivalent of dash.el's `it`). In Lisp we have always preferred to write things in the more general form where you specify the arg names. But a shorter construct which avoid the need to specify the arg names might be ok. What could that kind of abbreviated lambda-expression look like? -- Dr Richard Stallman Chief GNUisance of the GNU Project (https://gnu.org) Founder, Free Software Foundation (https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org)