Delurking comments on the 0.1.5 specification
Reinier Zwitserloot
reinier at zwitserloot.com
Fri Apr 2 01:14:18 PDT 2010
Interesting points. I have one remark inline about the 'effectively final'
concept.
On Thu, Apr 1, 2010 at 4:04 PM, Jim Mayer <jim at pentastich.org> wrote:
> My main
> concern with "effectively-final" is that the addition of a closure
> referencing an "effectively-final" variable will effect the legality
> of apparently disconnected code.
>
>
Can you give an example of this? If a closure references a variable, and
other 'seemingly disconnected' code no longer compiles due to the need for
that variable to be effectively final, clearly it wasn't *actually*
disconnected and the compiler just did you a great favour and saved you lots
of time in debugging.
More information about the lambda-dev
mailing list