[Grace-core] State of Lambda
Kim Bruce
kim at cs.pomona.edu
Tue Nov 20 13:54:58 PST 2012
Did anyone else read section 7 (Variable Capture) in the State of the Lambda document:
http://cr.openjdk.java.net/~briangoetz/lambda/lambda-state-4.html
It discusses how they block access to outer non-final variables from an inner class. This of course relates to Andrew's concerns about determining what is truly immutable -- e.g., it fails when an object/method accesses a variable from an outer scope.
I don't know how far we should go in being restrictive, but clearly they were concerned.
Kim
More information about the Grace-core
mailing list