Path: csiph.com!tncsrv06.tnetconsulting.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!nnrp.usenet.blueworldhosting.com!.POSTED!not-for-mail From: Richard Smith Newsgroups: gnu.emacs.help Subject: Re: TCO with named-let via macros Date: Wed, 10 Jul 2024 06:36:56 +0100 Organization: BWH Usenet Archive (https://usenet.blueworldhosting.com) Message-ID: References: <8734oi5ksx.fsf@axel-reichert.de> MIME-Version: 1.0 Content-Type: text/plain Injection-Info: nnrp.usenet.blueworldhosting.com; logging-data="15391"; mail-complaints-to="usenet@blueworldhosting.com" User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:Sfi8W5pE4qA1uiTlL1yWymxpvGI= sha1:ojyi8eF2M1+zTGIuVwucni8oWJk= sha256:3GJSqouVT2Lg/1csP92vwFQJIe2bf+q+RXUbtENeE1M= sha1:2cGC7muc9cxnJOz6MIeuXEMIYXE= sha256:xVTA4RmMzKirIYSjCnaKIPAsVLodOTw3Q9eDWb1l7jc= Xref: csiph.com gnu.emacs.help:60984 Axel - I know that elisp doesn't optimise if an expressed recursive function is tail-recursive. A practical work-around is an alterative approach using the looping built-in's like "dotimes" (?) - where a recursive approach would have minimalistic beauty. Regards, Rich S