4 ms·
He implements call/cc with Python's exceptions. Pretty clever.
by tung 16y ago
He implements call/cc with Python's exceptions. Pretty clever.
- gjm11 16y agoIt does mean you don't get the full power of call/cc: you can't invoke a continuation again after it's completed. There are some cool things that stops you doing -- e.g., using call/cc to implement a backtracking searcher.