Generators are procedures that produce a series of values. Rather than returning a list, a generator "yields" each value in turn and then suspends until the next value is requested. The generator package provides a number of convenience routines for creating and using generators, building on top of the coroutine mechanism in Tcl 8.6.
Package | generator |
---|---|
Author | Neil Madden |
Homepage | http://www.cs.nott.ac.uk/~nem/tcl/ |
License | Tcl |
Depends | tcl |
Categories | Low-level utilities |
Links | http://www.cs.nott.ac.uk/~nem/tcl/generator.html |
Version | Date | Announce |
---|---|---|
0.1 | 2009-09-04 | news:NMidnW-1dsc42DzXnZ2dnUVZ8r6dnZ2d@bt.com |