2 ms·
Yes, but that seems a trivial application of "lambda calculus is turing-complete" (or of some similar statement, if that one doesn't quite work). CPS is a sligh
by philh 16y ago
Yes, but that seems a trivial application of "lambda calculus is turing-complete" (or of some similar statement, if that one doesn't quite work). CPS is a slight improvement on that theorem, but not particularly relevant.
Here, we have a piece of code which relies on both closures and continuations, and which is less clear than the equivalent code would be without continuations.