|
|
|
|
|
by shakna
3525 days ago
|
|
I'd probably nest a named let inside a continuation. Raise an exception when an iterator goes too long. Something like that. I tend to avoid continuations in production code, because how it reacts very much depends on what you're accomplishing. Most exception handling frameworks use continuations, which you can accidentally turn into infinite loops if you don't abort the loop properly. |
|