Interesting paper on the topic of various program patterns implemented in coroutine. As mentioned in a previous post, continuations are a powerful control flow primitive — they can be used for: Call with Current Continuation Patterns, Ferguson & Deugo Escaping recursive procedures and loops Reentry into recursion Coroutines Backtracking Simulating multitasking The paper covers these …
Tag Archives: scheme
The Python debate on Tail Calls
The Beginning It started with an innocent enough blog post by Guido van Rossum commenting on Python’s lack of tail call elimination in Python’s history. Okay, not even commenting – it was a parenthetical sentence fragment! “Origins of Python’s “Functional” Features” on The History of Python The internet went crazy with comments. Guido attempted to …