lua-users home
lua-l archive

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


Dirk Laurie <dirk.laurie@gmail.com> wrote:

> Well, although Lua is _almost_ perfect, the mere existence
> of the Lua repository proves that it is not stagnant.
> 
> My favourite feature suggestions are:
> 
> 2. In a for statement, allow extra conditons before the 'do'.
> 
> for _,item in ipairs(list) if type(item)=='table' do
> for _,item in ipairs(list) while type(item)=='table' do
> for _,item in ipairs(list) until type(item)=='table' do

Those look quite interesting, thanks for sharing the idea!

~Paige