lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


2009/12/16 John Hind <john.hind@zen.co.uk>:
> I really cannot see why this solution is resisted – it is fully backward
> compatible and syntactically uncomplicated. The context of the explist is
> easily distinguishable being bracketed by the reserved words ‘in’ and ‘do’.

I don't know if it is of any help but I perfectly agree with you, I
think that the __iter metamethod is something natural in the logic of
Lua language and for some strange reason it was not retained for Lua
in its current implementation.

Francesco