for-loop abstraction: How's this magic gonna work?
Peter Levart
peter.levart at marand.si
Tue Jan 5 04:55:17 PST 2010
On Tuesday 05 January 2010 09:24:31 Gernot Neppert wrote:
> Or, rephrased after Darwin: Where's the missing link?
I think the example assumes that the "for eachEntry" method declaration is in scope when you are "invoking" the method (either you are invoking it from within an instance method of the same class or subclass or from an instance method of the inner class.
Other possibility for "shorter" syntax is that you invoke a static method and use a static include.
Regards, Peter
More information about the closures-dev
mailing list