Lambda evaluation - postfix or prefix?
Alex Blewitt
alex.blewitt at gmail.com
Thu Jan 28 14:46:41 PST 2010
On 28 Jan 2010, at 22:32, Lawrence Kesteloot <lk at teamten.com> wrote:
> On Thu, Jan 28, 2010 at 2:06 PM, Neal Gafter <neal at gafter.com> wrote:
>> result = **foo("bar")("baz");
>>
>
> I rather like the *, now that I see it.
One of the reasons I suggested a different character was because the *
is also used for multiplication e.g. 2*twentyOne(). By using * as
prefix, we may run into confusion at some point, especially when we
have 2 **twentyOne(), which is two times the result of executing the
lambda twentyOne.
Alex
More information about the lambda-dev
mailing list