Dot Product Thoughts
Stephen Colebourne
scolebourne at joda.org
Fri Apr 19 03:39:54 PDT 2013
On 19 April 2013 01:42, Brian Goetz <brian.goetz at oracle.com> wrote:
>>> Sensible would be the ability to express all built-in operators as
>>> functions so they can be used as reducers.
>>
>> I'm a bit confused: are you describing a language change that would
>> allow any operator to be used as a function, or adding more static
>> overloads to primitive classes and Strings?
>
> Just more static methods in classes like Integer.
Maybe instead of:
Integer::opSum
Integer::opMultiply
It could be:
Opertators::sum
Opertators::multiply
Just a thought
Stephen
More information about the lambda-dev
mailing list