[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Short function definition syntax; thoughts on Lua (was Re: [ANN] GSL Shell new beta release...)
- From: Pierre LeMoine <yarr.luben@...>
- Date: Sun, 6 Dec 2009 04:37:46 +0100
> A close form could already be implemented, without upvalues though:
>
> local f = y[[ x + y with x, y ]]
>
I think this looks rather nice actually. Doesn't seem like too much
trouble to implement a such y-function and call it lambda or whatever
catches one's fancy.
+ for not needing to modify lua to implement it. A downside i can see
is that it wouldn't get compiled until y/lambda gets called, but i
could live with that.