lua-users home
lua-l archive

Re: ipairs in Lua 5.3.0-alpha

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


On 2014年8月15日 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?

AltStyle によって変換されたページ (->オリジナル) /