lua-users home
lua-l archive

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

> A related question - I've noticed that the "__tostring" metamethod is not 
> mentioned in the list of metamethods in 2.8, only in the documentation of 
> tostring in 5.1 - is this intentional?

Yes, "__tostring" is not a core metamethod; it's only a protocol following
by print (and potentially any other functions that want to).

> why not include a table of contents [...] And an index of all 
> functions of the Lua and C API's

That's what contents.html in the tarball and index.html in the site do.
Or am I missing something?