lua-users home
lua-l archive

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


On Mon, Apr 02, 2012 at 11:48:45PM +0900, Miles Bader wrote:
> Rob Kendrick <rjek@rjek.com> writes:
> > Good question.  Two options:
> > 	1. subscripts >= 2
> > 	2. subscripts ~= 1
> 
> No reason not to allow zero...

Please don't CC me.

In answer to your mail; this is why I'm leaning towards option 2, which
allows everything that couldn't be handled by __index already.  (ie,
subscripts == 1).

B.