in reply to Re^3: An iterator for (not "iterating") a recursive data structure.
in thread An iterator for (not "iterating") a recursive data structure.
search for "gather / take"
> which is to throw an exception at the end of the iteration rather than try to return a specific value
you can use goto for a poor man's solution here.
|
|---|