Re: Some conservative Lua metamethod extension proposals
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Some conservative Lua metamethod extension proposals
- From: Sergey Zakharchenko <doublef.mobile@...>
- Date: 2018年3月24日 12:50:15 +0300
John,
> for k, v in instanceofmyclass:pairs() do ... end
> for k, v in instanceofmyclass do ... end
I'm after code that's quite a bit more generic than this, and in particular supports plain tables.
Best regards,
--
DoubleF