[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Desired Lua Features
- From: Paige DePol <lual@...>
- Date: Sun, 28 Jan 2018 15:45:41 -0600
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