[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: GUI interface style query
- From: Daniel Silverstone <dsilvers@...>
- Date: Mon, 01 Nov 2004 14:04:37 +0000
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.
> 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
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.
Daniel Silverstone http://www.digital-scurf.org/
PGP mail accepted and encouraged. Key Id: 2BC8 4016 2068 7895