[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Lua 5.2.0 (work1) now available
- From: steve donovan <steve.j.donovan@...>
- Date: Sat, 9 Jan 2010 11:37:16 +0200
2010/1/9 Ignacio Burgueño <ignaciob@inconcertcc.com>:
>> 17. Documented behaviour of ipairs() is changed from "iterates until
>> *first nil*" to "traverses table length elements as defined by length
>> operator".
This is more consistent, but given how strange #t is when t has a
number of holes, it isn't necessarily more useful. Mark's remark
about pack/unpack being paired has some relevance here: pack() must
set 'n', so why can't unpack() use it? Or ipairs?
steve d.