lua-users home
lua-l archive

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


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.

On Fri, Apr 28, 2017 at 10:35 AM, steve donovan <steve.j.donovan@gmail.com> wrote:
On Fri, Apr 28, 2017 at 4:10 PM, Michal Kottman
<michal.kottman@gmail.com> wrote:
> On 28 April 2017 at 15:54, Dirk Laurie <dirk.laurie@gmail.com> wrote:
> others can update/add content. Or do you prefer the GitHub PR approach?

I can't speak for Dirk, but personally I'm just so used to gh-markdown
now. We need a converter.

(My apologies to Dirk for hijacking his thread)