[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Multiple values returned or vararg expression in numeric for loop
- From: Fidelis Assis <fidelis.assis@...>
- Date: Sun, 16 Sep 2012 15:46:50 -0300
2012/9/16 Petite Abeille <petite.abeille@gmail.com>:
>
> On Sep 16, 2012, at 7:59 PM, Fidelis Assis <fidelis.assis@gmail.com> wrote:
>
>> Anyway, I miss the short "for v in t".
>
> You can achieve the same effect by making your table 'callable' (i.e. __call) and return an appropriate iterator.
Good, thanks for the suggestion. But doing this naturally with be even
better :).
--
Fidelis Assis
- References:
- Multiple values returned or vararg expression in numeric for loop, Egor Skriptunoff
- Re: Multiple values returned or vararg expression in numeric for loop, Michal Kolodziejczyk
- Re: Multiple values returned or vararg expression in numeric for loop, Roberto Ierusalimschy
- Re: Multiple values returned or vararg expression in numeric for loop, Dimitris Papavasiliou
- Re: Multiple values returned or vararg expression in numeric for loop, Luiz Henrique de Figueiredo
- Re: Multiple values returned or vararg expression in numeric for loop, Dimitris Papavasiliou
- Re: Multiple values returned or vararg expression in numeric for loop, Roberto Ierusalimschy
- Re: Multiple values returned or vararg expression in numeric for loop, Egor Skriptunoff
- Re: Multiple values returned or vararg expression in numeric for loop, Fidelis Assis
- Re: Multiple values returned or vararg expression in numeric for loop, steve donovan
- Re: Multiple values returned or vararg expression in numeric for loop, Fidelis Assis
- Re: Multiple values returned or vararg expression in numeric for loop, Petite Abeille