March 1, 2014
12:34 a.m.
Chris Angelico wrote:
With this proposal, your star_lambda function's declaration changes the call site - instead of evaluating a*b+c, it has to construct an anonymous function and pass it along.
And when you consider that this could happen with any argument to any function, depending on what the function turns out to be like at run time, it means that *all* function arguments would need to be passes as anonymous functions. That would be very awkward an inefficient. -- Greg