lua-users home
lua-l archive

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


Peter Hill:
> Note: I'd use "__next" rather than "__pairs" because it is more
> fundamental.

RLake:
> My original thought was a __next metamethod. But after I tried writing a
> few of them, I decided that __pairs is actually a lot easier to implement
> in many interesting cases. Try a few and see for yourself...

I don't understand...?

Have you got a couple of your examples?

*cheers*
Peter Hill.