lua-users home
lua-l archive

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


On Mon, 2004-11-01 at 14:54 +0100, Ashwin Hirschi wrote:
> >> How deprecated is the 'implicit pairs()' case anyways?  I'm using it
> >> throughout - should I change my habits?  0:)
> > Yes. There is a good chance of it not being present in 5.1 final.
> I will *not* be pleased if it goes.

I will

> Why drop something that's elegant and well-defined?!?

Because it complicates the VM and the parser?

Also there's no usefully defined ordering in the old 'for k,v in table'
syntax; particularly numeric tables would always iterate 1-15,17-end,16
(IME)

I have a nice set of functions so that I can do things like

for elem in values(sort(list)) do

and other such constructs.

D.

-- 
Daniel Silverstone                         http://www.digital-scurf.org/
PGP mail accepted and encouraged.            Key Id: 2BC8 4016 2068 7895