From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Tomas Hlavaty Newsgroups: gmane.emacs.devel Subject: Re: named-let Date: Sat, 09 Jan 2021 19:47:16 +0100 Message-ID: <87ft3akkwb.fsf@logand.com> References: <87im86kub6.fsf@logand.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="35591"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Jan 09 19:48:19 2021 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 1kyJHe-00099L-Th for ged-emacs-devel@m.gmane-mx.org; Sat, 09 Jan 2021 19:48:18 +0100 Original-Received: from localhost ([::1]:44786 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kyJHd-00054U-Vh for ged-emacs-devel@m.gmane-mx.org; Sat, 09 Jan 2021 13:48:17 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55362) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kyJGl-0004eh-4W for emacs-devel@gnu.org; Sat, 09 Jan 2021 13:47:23 -0500 Original-Received: from logand.com ([37.48.87.44]:48466) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kyJGi-00061Q-2Y for emacs-devel@gnu.org; Sat, 09 Jan 2021 13:47:22 -0500 Original-Received: by logand.com (Postfix, from userid 1001) id 4BE7619F7A9; Sat, 9 Jan 2021 19:47:18 +0100 (CET) X-Mailer: emacs 26.3 (via feedmail 11-beta-1 I) In-Reply-To: Received-SPF: pass client-ip=37.48.87.44; envelope-from=tom@logand.com; helo=logand.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, 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.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:262812 Archived-At: On Sat 09 Jan 2021 at 11:44, Stefan Monnier wrote: >> Is TCO always used (like in Scheme) or in which cases is it used or not used? > > It's basically never used. It's only applied for the particular case of > tail recursive calls to functions defined by `cl-labels` and only for > those calls that are "self-recursive" (i.e. come from within the code of > that function). I see. That's already good step forward. Thank you!