Heads up: Mapper<T, R> -> Mapper<R, T>

Remi Forax forax at univ-mlv.fr
Tue Nov 6 07:50:50 PST 2012


On 11/06/2012 04:42 PM, Paul Sandoz wrote:
> Hi,
>
> To align better with EG discussions some nominal function types, such as Mapper/FlatMapper, were modified such that the type parameter for the return type is declared first rather than last.
>
> This is unlikely to affect code using such function types implicitly, i.e. lambda expressions, but will definitely affect code that explicitly depends on such types.
>
> I will endeavour to communicate such changes more quickly in the future.
>
> Paul.
>
> http://hg.openjdk.java.net/lambda/lambda/jdk/rev/e60b1819b652
>

Hi Paul,
and to be coherent,
all methods that declares a type parameter used as first parameter of a 
functional type should also be declared first.

cheers,
Rémi



More information about the lambda-dev mailing list