lua-users home
lua-l archive

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

On Wed, Mar 2, 2011 at 4:56 AM, Luiz Henrique de Figueiredo
<> wrote:
> I thought I had seen a C implementation of apairs but I could not find it
> in the archives. Some people seem to have done that; perhaps they can share
> the code.

The implementation you were looking for may be the "vararg" module
that was mentioned a few minutes before this...

>From comments in the source code:

        Actually, the main motivation for this library was the 'pack'
function, which
        is an elegant alternative for the possible new standard
function 'table.pack'
        and the praised 'apairs'.

Yippee-ki-yay, coffee maker.