|
> Perhaps we should just deprecate "generic for" and simplify the language. In standard Lua we could have: > > forpairs(table, function(k, v) ... end) > > foripairs(table, function(i, v) ... end) We already have table.foreach and table.foreachi, but they are deprecated.