Updated State of the Lambda

Osvaldo Doederlein opinali at gmail.com
Fri Oct 15 13:19:15 PDT 2010


Just a small comments:

Runnable r = (Runnable) #{ System.out.println("Blah") };

should be

Object r = (Runnable) #{ System.out.println("Blah") };

(makes the example more useful, and coherent with the later example of
wrong code "Object o = #{ 42 }")

A+
Osvaldo

2010/10/15 Brian Goetz <brian.goetz at oracle.com>:
> An updated draft (Version 3) of the State of the Lambda has been published at:
>
>   http://cr.openjdk.java.net/~briangoetz/lambda/lambda-state-3.html
>
> Notable differences from the previous draft include:
>  - 'this' in lambda expressions is lexically scoped
>  - 'yield' keyword dropped in favor of 'return'
>  - new syntax
>
> Maurizio will be pushing an implementation conforming to this draft soon.
>
>
>


More information about the lambda-dev mailing list