What we have in Nim in place of Python generators?
Are there posts exists compare Python code with generators and Nim analog?
I slowpoky read these David M. Beazley's slides about generators, and it looks very interesting to be used.
and also Prolog-like inference uses the same generators