From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sean Whitton Newsgroups: gmane.emacs.devel Subject: Re: cl-lib warnings Date: Sun, 25 Dec 2022 21:47:28 -0700 Message-ID: <87ilhy3h5r.fsf@melete.silentflame.com> References: <86o7s3lsnx.fsf@mail.linkov.net> <86bknx8783.fsf@mail.linkov.net> <837cylapt4.fsf@gnu.org> <83wn6kamwr.fsf@gnu.org> <83len0aldq.fsf@gnu.org> <83k02kadbv.fsf@gnu.org> <83a63fap35.fsf@gnu.org> <83bknu8tmo.fsf@gnu.org> <18E95AC5-1FFC-4025-B804-7D70DDB1BD75@gmail.com> <87y1qw2yt4.fsf@melete.silentflame.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14127"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= , Yuan Fu , Eli Zaretskii , Juanma Barranquero , Juri Linkov , emacs-devel To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Dec 26 05:48:30 2022 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 1p9fPX-0003UM-5i for ged-emacs-devel@m.gmane-mx.org; Mon, 26 Dec 2022 05:48:29 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p9fOk-00074e-Ln; Sun, 25 Dec 2022 23:47:38 -0500 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 1p9fOi-00074U-EK for emacs-devel@gnu.org; Sun, 25 Dec 2022 23:47:36 -0500 Original-Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p9fOg-0001He-EY; Sun, 25 Dec 2022 23:47:35 -0500 Original-Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 5F88C5C00C7; Sun, 25 Dec 2022 23:47:31 -0500 (EST) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Sun, 25 Dec 2022 23:47:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spwhitton.name; h=cc:cc:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm1; t=1672030051; x=1672116451; bh=Q0 dY5uc/BkkOGEMNJellEG0x/S0Zp8KHg3zdYAVM8A8=; b=ZtTyqHEcVywUBm33sA 42MnyHXKCIP+84r3bvoP3gNVqYL7euPLB+M2NK68VUBX7gql67Htw4I0M3GmJ7jU LmRqbqkWeC/e6GXsyQqaJ4Q7QG4S9WlmifaYU6TW5gDIGJJXGpWelWEom4CmYXz1 xqlcfDDvatWC8lj6QNwa8U4XESKkuHW0kHJk2SbRkxEXp0g3IB+AJF5GgcBcDLoQ KOvdrbfBrlJKa2gPTWoT7/+7TINV3g9Y42VqIsDPZnxAOtxgo+268/ubqKbAlI3o jTTrA2sZQa72SONjQNN7urDY27yfsTDIgFJCFOy0FzXm6vER52c9b9Apm6NrRGX3 Bpdw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1672030051; x=1672116451; bh=Q0dY5uc/BkkOGEMNJellEG0x/S0Z p8KHg3zdYAVM8A8=; b=H1iFFGt7X6+/4F/1FhOlqjLGMW9L7UVQ/vKTgo2+R9Xf eQf8we/dlHZzC8qntzm4i1yPnl8SCX4PsISVW5Znk/savZs74ai1N8/Jtz2JPWH0 7Ts+2pSqtozcjwyN2EwPXQT6p4i7ER9Dx/B+rmR6zvU1ARkWLomMRWyfqFwTrSu/ YWQ+xtrHYhqM9koQsZvfBNehRuUMO/jDwDHdMmA3baAPqow/8MYVQ5Zz6goZ+5OY oxdJvrIHjFxfgz5Q8d6bDHLMO/h8gJlSvuNprndxAJ2KMcNAq4H5aG2aAxEbrpNP FxSHpwmLZlHAkhyLCkYtikxCHLD/JQ5014/G4YTrIw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrheejgdejgecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvfevufgjfhffkfgfgggtsehttddttddtredtnecuhfhrohhmpefuvggrnhcu hghhihhtthhonhcuoehsphifhhhithhtohhnsehsphifhhhithhtohhnrdhnrghmvgeqne cuggftrfgrthhtvghrnheptdffvdffueeluedvteekvdevhefghedvgeevgffhvedukeeg geelveegjeekteeknecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh hfrhhomhepshhpfihhihhtthhonhesshhpfihhihhtthhonhdrnhgrmhgv X-ME-Proxy: Feedback-ID: i23c04076:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 25 Dec 2022 23:47:30 -0500 (EST) Original-Received: by melete.silentflame.com (Postfix, from userid 1000) id E34CF7EE122; Sun, 25 Dec 2022 21:47:28 -0700 (MST) In-Reply-To: (Stefan Monnier's message of "Sat, 24 Dec 2022 20:21:24 -0500") Received-SPF: pass client-ip=66.111.4.27; envelope-from=spwhitton@spwhitton.name; helo=out3-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_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 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:301925 Archived-At: Hello, On Sat 24 Dec 2022 at 08:21PM -05, Stefan Monnier wrote: > What can I say, I'm a pure functional programmer at heart (my own > experimental language is pure, statically (and dependently) typed, and > strongly normalizing). named-let is nice. I use when a recursive definition seems most expressive of programmer intent and anaphoric macros aren't available :) It doesn't seem advisable, to me, to force things that aren't naturally expressed with functional programming idioms into those idioms. But I guess you're trading that off for the advantages of purity, right? > That's actually the main problem with `named-let`: it's a bit too easy > to use non-tail-recursive calls, which are not only more costly but > eat up the stack. Maybe we should have a version of it that signals > an error if there are non-tail-recursive calls. That would be cool. -- Sean Whitton