transparent lambda

Neal Gafter neal at gafter.com
Wed Jan 6 23:04:23 PST 2010


John-

The block expressions of Cfj 0.6b
<http://www.javac.info/closures-v06b.html> are an approach related to
your let expressions, but much simpler because they are orthogonal to
lambdas.

For labeled lambda yields, the nicest thing I've seen so far looks
something like this:

#(int,int) myClosure = #label(int arg1, int arg2) { ... break label :
value; ... }

Cheers,
Neal


More information about the closures-dev mailing list