lua-users home
lua-l archive

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


On Thu, Dec 30, 2010 at 11:34:44PM +0200, Greg Falcon wrote:
> But if you actually read my message in question, you would have seen:
> 
> "Lorenzo Donati got it exactly right -- if you want an
> array-with-holes, build one out of tables and metamethods."
> 
I saw that, and agree with it.  In fact, in general I think that
do-it-yourself using existing tools is the solution to 99.9 per 
cent of the things people want Lua to be changed into doing.

> Here Mark Hamburg is proposing an API for an array-with-holes built
> out of tables and metamethods.  I can't for the life of me figure out
> why you think my discussing how it should support nil is in any way
> inconsistent or contradictory.
>
Whatever.  Let's rather focus on what we agree on.  Such as your 
conclusion in the later message:
| Or you could try to make nil first-class, but that's a broad change
| with major and sweeping implications.  The end result would look like
| quite a different language than what we have today!

Dirk