[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Lua 5.3 Glossary
- From: Dirk Laurie <dirk.laurie@...>
- Date: Fri, 28 Apr 2017 17:39:23 +0200
2017-04-28 16:38 GMT+02:00 Ryan Volz <iggyvolz@gmail.com>:
> Regarding: table is a standard library containing functions that involve
> sequences. Those functions cannot be called using object-oriented syntax.
>
> Sure you can - you just have to call setmetatable({__index=table},<your
> table>). Doesn't work if you're using a custom metatable, but it works well
> for things like lists.
I decided not to delve deeper into coroutines, userdata, the API, metamethods,
the load command, and modules than the most superficial remarks about
their existence.
But maybe a few words here would still fit in with that policy. Thanks,
Dirk