Lambda evaluation - postfix or prefix?
Lawrence Kesteloot
lk at teamten.com
Thu Jan 28 15:01:24 PST 2010
On Thu, Jan 28, 2010 at 2:46 PM, Alex Blewitt <alex.blewitt at gmail.com> wrote:
> 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.
I don't remember that ever being a problem in C, though it now occurs
to me that C's syntax is different. The * is optional, and if you use
it you must enclose it and the function expression in parentheses.
Lawrence
More information about the lambda-dev
mailing list