Returns a sequence generated by applying a state to the generator function, and from its result, determines if the sequence should have a next element and its value, and the next state in the recursive call.
// TODO add example
For more details, see the documentation.
✏ Edit this page if you see a typo or wish to contribute an improvement. Alternatively, you can also report an issue you see.