[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: sunday afternoon whishlist
- From: Petite Abeille <petite.abeille@...>
- Date: Tue, 11 May 2010 21:28:45 +0200
On May 11, 2010, at 8:48 PM, Alex Davies wrote:
> I've always liked the apairs() suggestion:
>
> for i,a in apairs(...) do
> print(a)
> end
>
> Bit cheaper then a table, easy to implement, easy to understand and, like a table, grows linearly with each added element. And, unlike a table, it can handle nils just fine.
>
> I'd like to see it become part of baselib in 5.2.
In the meantime:
http://lua-users.org/lists/lua-l/2007-08/msg00359.html
- References:
- sunday afternoon whishlist, Klaus Ripke
- Re: sunday afternoon whishlist, Juris Kalnins
- Re: sunday afternoon whishlist, Quae Quack
- Re: sunday afternoon whishlist, HyperHacker
- Re: sunday afternoon whishlist, Juris Kalnins
- Re: sunday afternoon whishlist, HyperHacker
- Re: sunday afternoon whishlist, Juris Kalnins
- Re: sunday afternoon whishlist, Roberto Ierusalimschy
- Re: sunday afternoon whishlist, HyperHacker
- Re: sunday afternoon whishlist, Patrick Donnelly
- Re: sunday afternoon whishlist, "J.Jørgen von Bargen"
- Re: sunday afternoon whishlist, Alex Davies