AFAIK it is easy to create an iterator in Nim. Generator functions/expressions in Python are just shortcuts to create iterators.
- What we have in Nim in place of Python generators? dponyatov
- Re: What we have in Nim in place of Python generators? siloamx
