Now there's a new library I need to try!

Haoyi Li <> wrote:
MacroPy also has an implementation of TCO implemented using trampolining. It trades stack introspection for load-time-analysis, which could be a win or a loss depending on how you view things.

From: Ryan
Sent: 1/18/2014 4:57 PM
To:; Joao S. O. Bueno;
Subject: Re: [Python-ideas] Tail recursion elimination

I wrote one that uses decorators. How is that special syntax? wrote:
On Jan 18, 2014, at 22:08, "Joao S. O. Bueno" <> wrote:

You can use tail recursion elimination in Python as it is today.
I have seen many "implementations" of tail-call optimization, and their common problem is that they all require special syntax to work. I need a solution that is directly usable with Python's orrdinary return statement.

Python-ideas mailing list
Code of Conduct:

Sent from my Android phone with K-9 Mail. Please excuse my brevity.