From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Rudolf =?utf-8?Q?Adamkovi=C4=8D?= Newsgroups: gmane.emacs.devel Subject: Re: Elisp threading macros Date: Fri, 30 Aug 2024 14:26:30 +0200 Message-ID: References: <877cc0ec1t.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24800"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Garklein , Thierry Volpiatto Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Aug 30 14:27:37 2024 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 1sk0iz-00069c-Gb for ged-emacs-devel@m.gmane-mx.org; Fri, 30 Aug 2024 14:27:36 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sk0i8-0002eB-5w; Fri, 30 Aug 2024 08:26:40 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sk0i6-0002dw-He for emacs-devel@gnu.org; Fri, 30 Aug 2024 08:26:38 -0400 Original-Received: from fout2-smtp.messagingengine.com ([103.168.172.145]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sk0i4-00069H-5J for emacs-devel@gnu.org; Fri, 30 Aug 2024 08:26:38 -0400 Original-Received: from phl-compute-07.internal (phl-compute-07.nyi.internal [10.202.2.47]) by mailfout.nyi.internal (Postfix) with ESMTP id EF5A213801E4; Fri, 30 Aug 2024 08:26:33 -0400 (EDT) Original-Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-07.internal (MEProxy); Fri, 30 Aug 2024 08:26:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adamkovic.org; h=cc:cc:content-transfer-encoding:content-type:content-type :date:date:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:subject:subject:to:to; s=fm2; t=1725020793; x=1725107193; bh=zMXLUb3bcss/BpAct09pGz+w708pbC5Z T2lJNFffSYs=; b=Diq5nVEoD0CdcvUpMn7Xn1G6M9UdLOHVq9PWuU6CtZ+067do 4iUB0aFS98VWHnpk+eYa+VZe5g4RZdydp+dnMnygQW7vJd/evo3mCjMPjGVFJ+kJ xuCf7qKpAf2A+6nYlU1iZEXvJhVszHJ0nEuNKoNzaS6abJu/8dhCr6NHYLshEiP+ s10vqznQprOtiwwSQ5rVSQeWRk5Eq7L03Q3SMUEb1o9OUn4jbg9Toy2Ogslp8skh 9pjIHTOWnUVRjd9fyT8OW+2efa2lG6cZsPp5aj7kshmzkbclbWSIwasD+ZmIphpo 1TqMmipuyWhXbvFB9J+/buBcIsBSAqTyK9Ka0g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1725020793; x= 1725107193; bh=zMXLUb3bcss/BpAct09pGz+w708pbC5ZT2lJNFffSYs=; b=b FKOTF9Mog1UhkZKeq1DfFPW7wEdXKG1TJk28mjx9GeZYZ4OR6lb5WV/324U1dz/V Ueu+UUD64T63Az9lkiwEHYX2DUdpyC4x/nJoDNUbkWkRrrwJRxLqENqwLakWZB3a 8mF09iSSiif3RtktYcCsCdXGvvBrntZVEG6kKObp4QWe5fDSW+WsAm67BmvQsuo7 i9hDM8QQ90llJWH4wTH9cV8HYsqxKLqbJ0rIAHTeNOT8q5+i2Zfb9ZUh8wVyEA3v mAS1KsHGyCCWtnTw+uFmyG1D7c/iwNH5f1u+RM2sXjlmNYUhrmSbsRi86p2As7tZ JE7YeAbvcPEzrWkkKSgMQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrudefiedgheduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhephffvvefujghffffkgggtgfesthhqredttddtjeen ucfhrhhomheptfhuugholhhfucetuggrmhhkohhvihgtuceorhhuugholhhfsegruggrmh hkohhvihgtrdhorhhgqeenucggtffrrghtthgvrhhnpeeiueetheffudfghfeggeevheev vddtkefflefhueeludfgtefgffeltdfhudejgeenucffohhmrghinheprggurghmkhhovh hitgdrohhrghenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhr ohhmpehruhguohhlfhesrggurghmkhhovhhitgdrohhrghdpnhgspghrtghpthhtohepfe dpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepvghmrggtshdquggvvhgvlhesghhn uhdrohhrghdprhgtphhtthhopehthhhivghvohhlsehpohhsthgvohdrnhgvthdprhgtph htthhopehgrghrkhhlvghinheljeesghhmrghilhdrtghomh X-ME-Proxy: Feedback-ID: i88214938:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 30 Aug 2024 08:26:32 -0400 (EDT) In-Reply-To: Received-SPF: pass client-ip=103.168.172.145; envelope-from=rudolf@adamkovic.org; helo=fout2-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:323203 Archived-At: Garklein writes: > I don't see what's so bad about the names `->', `-->' etc. I find them cryptic as well (and I say that as a professional Fennel programmer, using Clojure syntax all day long). > After all, we commonly use functions with such cryptic names as `car', > `cdr', and `cons' :) This is where Emacs Lisp could learn from Clojure and introduce `first', `next', and `pair' aliases. Document the new names as preferred and keep the old "historical curiosities" functional forever. Of course, `mapcar' and the like would have to be renamed as well, but all that is doable if there is a will to move the readability of the "very core" of Emacs Lisp forward, from 1950s into the 21st century. Rudy --=20 "Mathematics takes us still further from what is human into the region of absolute necessity, to which not only the actual world, but every possible world, must conform." --- Bertrand Russell, 1902 Rudolf Adamkovi=C4=8D [he/him] http://adamkovic.org