[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Slicing ideas
- From: Rob Kendrick <rjek@...>
- Date: Mon, 2 Apr 2012 20:30:41 +0100
On Mon, Apr 02, 2012 at 06:57:43PM +0200, Mike Pall wrote:
> Alex Davies wrote:
> > I bet the very thought of that would make Mike break out in hives...
>
> I guess there's nothing new under the moon. 7.42 years ago I wrote:
>
> http://lua-users.org/lists/lua-l/2004-11/msg00083.html
>
> Subject: Things not to add to Lua (slices)
The name of the metamethod was throw-away. The only thing that was
suggested was allowing multiple values inside [], and them be passed to
a metamethod orthagonally. Different metamethod was only suggested to
maintain backwards compatibility.
B.