lua-users home
lua-l archive

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


I like the conclusion here and I hate to prolong an dying thread when it just seemed like it was going to expire with such productivity...

<pedantic>The word "bug" was put into quotes for good reason, however those quotes fail to change the word's meaning. You're looking for a feature, not pointing out a bug. That's true, no matter how wrong the within-specification-behavior seems to you. If I were the programmer that wrote that code, I'd dig my heals in and defend it, even if I saw merit in the proposed suggestion. But I'm petty that way.</pedantic>

A nice feature that would play well with the yin-yang of the universe: Negative indexes working as the C-API's stack does.

-Andrew


On Fri, Jan 25, 2013 at 11:05 AM, Dirk Laurie <dirk.laurie@gmail.com> wrote:
2013/1/25 John Hind <john.hind@zen.co.uk>:

>
> I'll do what I should have done in the first place, post a PowerPatch on the
> Wiki and let people take it or leave it.
>

Or post a module, say "stable", and let people write (or not)

   table.insert, table.remove = stable.insert, stable.remove