lambda syntax tutorial

Stephen Colebourne scolebourne at joda.org
Tue Aug 10 01:59:25 PDT 2010


On 10 August 2010 09:26, Florian Weimer <fweimer at bfk.de> wrote:
> So it seems that "extension" comes after the type parameters, as in:
>
>    <T, throws E> extension T runL(Txn<T> txn) throws SQLException, E
>           default ConnectionPools.runL;
>
> I think that's a bit surprising.

Yep. If we are forced to have "extension" (why not "default"?) then it
should be positioned as it would be for public/private/static/final
etc.

Stephen


More information about the lambda-dev mailing list