Would it be possible to add iterator support, writing a Python "generator" as a Nim "iterator"? In my estimation, this would allow for more efficient Nim based Python libraries to be exported, rather ...
Generators use 'yield' instead of 'return'. Each yield pauses the function and returns a value. The function resumes from where it left off on next(). print(" Starting generator...") """Stream ...