Lambda's/Closures in JDK 1.6

Llewellyn Falco isidore at setgame.com
Wed Oct 13 09:00:30 PDT 2010


On Tue, Oct 12, 2010 at 9:48 AM, Joe Darcy <joe.darcy at oracle.com> wrote:

> Llewellyn Falco wrote:
>
>> Java Lambdas <http://blog.approvaltests.com/2010/10/java-lambdas.html>
>>
>>
>
> This post is off-topic for the Project Coin mailing list.  The Project Coin
> mailing list is for developing and discussion the Project Coin features;
> lambdas/closures are *not* Project Coin features.
>
> Your previous message to the list about your work was sufficient to alert
> any interested parties to it.
>
> -Joe
>

Sorry, I must have miss understood.

I when I created this at JavaOne, and showed it to the people at the Java
Language booth, they asked if I had checked out the coin project (I had only
heard of it that very day).  My understanding was it was
small syntactically changes that would make java easier to use.

Since the lambdas don't require ANY changes to java, I thought there might
be many changes that would make them better without having to add
any additional syntax. for example:

Query.*orderBy*(people, *new* S1<Person>(a){{ret(a.getAge());}});
could become
Query.*orderBy*(people, *new* S1(a){a.getAge()});

I mistakenly believed  this was within the scope of project coin. which
project should I be posting too?

Sorry for the trouble,

Llewellyn



More information about the coin-dev mailing list