parrotcode: Lua iterators | |
Contents | Language Implementations | Lua |
t/iterator.t - Lua iterators
% perl -I../lib -Ilua/t lua/t/iterator.t
See "Programming in Lua", section 7 "Iterators and the Generic for" and section 9.3 "Coroutines as Iterators".
|