|
Oktatás * Programozás 1 * Szkriptnyelvek Teaching * Programming 1 (BI) Félévek Linkek * kalendárium |
Nim2 /
Python's generator-like iteratorPython has generators.
In Nim we use the following pattern: we wrap the iterator in a factory proc that captures the parameters and returns an anonymous iterator. The proc captures the More info here. |
![]() Blogjaim, hobbi projektjeim * The Ubuntu Incident [ edit ] |
||||