lua-users home
lua-l archive

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


Rob Kendrick <rjek@rjek.com> writes:
>> On Mon, Apr 2, 2012 at 11:47 AM, Rob Kendrick <rjek@rjek.com> wrote:
>> > foo = t[1, 2, 3] -> __slice(t, 1, 2, 3)
>> 
>> Just to check the intended meaning; t[1,2,3] gives you {t[1],t[2],t[3]} ?
>
> No.  There is no intended meaning.  One could write a __slice function
> that did this, though.

If there's no intended meaning, then the term "slice" is unnecessarily
confusing/misleading.

Why not just call them "__multi_index" (or "__mindex") etc; boring, but
at least obvious extensions of the existing terms ("just like index,
only with multiple indices").

-miles

-- 
[|nurgle|]  ddt- demonic? so quake will have an evil kinda setting? one that
            will  make every christian in the world foamm at the mouth?
[iddt]      nurg, that's the goal