[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: use of gettop to change functionality
- From: Axel Kittenberger <axkibe@...>
- Date: Wed, 2 Mar 2011 11:50:28 +0100
> Lets call it vapairs!
Just tried to code it. Doesnt work to get the vargs into the iterator
without packing it into a table. 'cause vargs is not first-class. Even
tried some tricks with coroutines, to have one coroutine as argument
deliverer for the main call, doesnt work either (with full
continuations it would work tough :) but might argue that even if
possible the impact of a continuation far outweights the gain of a
saved table pack. It seems vargs is just one of the few things, you
cannot iterate over :(