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: Sun, 10 May 2020 22:37:25 -0400 Message-ID: References: <0c88192c-3c33-46ed-95cb-b4c6928016e3@default> <87wo5mc04t.fsf@fastmail.fm> <87d07cwtb1.fsf@fastmail.fm> 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="113693"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Joost Kremers Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon May 11 04:41:31 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 1jXyNn-000TTa-NZ for ged-emacs-devel@m.gmane-mx.org; Mon, 11 May 2020 04:41:31 +0200 Original-Received: from localhost ([::1]:34252 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jXyNm-0004rH-Ns for ged-emacs-devel@m.gmane-mx.org; Sun, 10 May 2020 22:41:30 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38234) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jXyJr-0007aC-3L for emacs-devel@gnu.org; Sun, 10 May 2020 22:37:27 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:54515) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jXyJq-0007w2-P8; Sun, 10 May 2020 22:37:26 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1jXyJp-0006tE-2M; Sun, 10 May 2020 22:37:25 -0400 In-Reply-To: <87d07cwtb1.fsf@fastmail.fm> (message from Joost Kremers on Sun, 10 May 2020 02:02:42 +0200) 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:249743 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. ]]] > (print (eval (read))) > into: > (-> (read) > eval > print) The preference is a matter of taste. If you have a taste for Lisp, the former seems totally natural. If you don't, maybe it seems strange. ->> is natural enough, because it adds the carried-over argument at the end of the list. But -> is unnatural, since it adds the carried-over argument in the middle of the list (after the first element). I think that nested calls are cleaner than ->. -- 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)