Lambda evaluation - postfix or prefix?
Lawrence Kesteloot
lk at teamten.com
Thu Jan 28 14:32:57 PST 2010
On Thu, Jan 28, 2010 at 2:06 PM, Neal Gafter <neal at gafter.com> wrote:
> result = **foo("bar")("baz");
>
> Do I have that right? If so, this doesn't appear to compose well.
That may be true, but I hope we're not putting too much emphasis on
composition. Calls to functions returned from calls to functions are
vastly less common than calls to functions, and the syntax should
optimize for the latter.
I rather like the *, now that I see it.
Lawrence
More information about the lambda-dev
mailing list