lua-users home
lua-l archive

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


On Fri, 15 Aug 2014 20:37:32 +0200
Jan Behrens <jbe-lua-l@public-software-group.org> wrote:

> My question is now (disregarding any implementation issues):
> 
> "What shall ipairs be in Lua 5.3?"
> 
> Shall it be:
> 
> * syntactic sugar for iterating from v = t[1] to t[v]

Sorry, of course this must read:

* syntactic sugar for iterating from v = t[1] to t[#t]

> or
> * be an interface that allows other containers to behave like sequences?