Hello Ellery,
bearophile wrote:I'm trying to convert to D2 the following (quite simplified up) Python code, that implements a trampoline to run tail-call functions with no stack overflow:
[...]
How DO you define the signature of a function that returns itself?
Last I checked, you can't. Make it return a struct that has itself.