That doesn't tell me what the three return values do.
> The wiki [4] talks of 'pairs' as an experimental feature and also mentions
> 'next' which wasn't even included in 5.2? I think the page isn't updated for 5.2?
A wiki is written by users. There is the occasional contributor that
has a sense of ownership and occasionally revises his pages, but
by and large, when you put something on a Wiki, it is there for
everybody to modify and correct. Even newbies with two weeks
of experience.
I'm genuinely unsure what the status of the information on that page is. Until I learn more or someone else volunteers, I've added a small warning at the top of the page.
> These metamethods are not listed in the 5.2 manual:
> __mode, __pairs, __ipairs, __gc, __metatable, __tostring
They don't have their own entries, but search and you shall find.
With all respect, I ask the maintainers of the manual to add a specific entry for each metamethod under section 2.4 'Metatables and metamethods'.
> And 6.2 'Coroutine Manipulation' states that coroutine operations "comprise
> a sub-library of the basic library", which is no longer true.
Why is it not true? There is a "coroutine" sublibrary.
> Also, 6.4.1 'Patterns' doesn't explain the now official %f pattern.
What version of the manual do you have? The one that comes
with Lua 5.2.3 does explain the frontier pattern.
Ok, I see it now. My mistake.
I like the upcoming change to '=' syntax in Lua 5.3 and the discussion on a default table print function is promising. I'll look into ilua.
Thanks and best regards
/Anders Petersson