Why no tail calls from generators?
Joe Gibbs Politz
joe at cs.brown.edu
Wed Oct 12 19:07:12 UTC 2016
Hi! I tried searching the archives and a bit around the Web, but couldn't
find a place where this was written down; I may just need a pointer.
What is the rationale for explicitly disallowing PTC in generators? (Or,
in the case of proposals like STC, why not allow users to opt in to TCO in
Specifically, I'm referring to step 5 in IsInTailPosition that returns
if the body is a generator body.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss