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 ...
Understand what generators are in Python. Use generator expressions to create generators. Use the yield statement to define generator functions. In Python, a generator is a special type of iterator ...