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.

  * [http://www.dabeaz.com/generators](http://www.dabeaz.com/generators)/
  * [http://www.dabeaz.com/coroutines](http://www.dabeaz.com/coroutines)/
  * 
[http://www.dabeaz.com/finalgenerator](http://www.dabeaz.com/finalgenerator)/



and also Prolog-like inference uses the same generators

  * 
[http://yieldprolog.sourceforge.net/tutorial1.html](http://yieldprolog.sourceforge.net/tutorial1.html)


Reply via email to