[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: '__iter', yet again!
- From: Francesco Abbate <gslshell@...>
- Date: Wed, 16 Dec 2009 14:07:07 +0100
2009/12/16 John Hind <email@example.com>:
> 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.