lua-users home
lua-l archive

Re: [PROPOSAL] a new function: table.proto()

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


* Benoit Germain:
> Isn't this implementation detail already indirectly exposed by the
> existence of pairs/ipairs?
No, you could implement them even without an array part. (Javascript
does something in that direction, after all.) ipairs() might even
have something to iterate if the array part is empty.

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