Heads up: Mapper<T, R> -> Mapper<R, T>
Stephen Colebourne
scolebourne at joda.org
Tue Nov 6 08:08:37 PST 2012
On 6 November 2012 15:42, Paul Sandoz <paul.sandoz at oracle.com> wrote:
> 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 feels like a step back.
Mapper<T,U>
I read that as "maps from T to U".
More generally, I would normally put the inputs in order first, then
the return type, then any exceptions (not applicable here). Can you
indicate why or link to the thread about this?
thanks
Stephen
More information about the lambda-dev
mailing list