Neal Gafter hat einen neuen Vorschlag für Closures ins Netz gestellt.
This latest revision of the proposal drops local functions and the special nonlocal return syntax, adds support for generic type parameters that can be used to represent thrown exceptions, and has only one form of closure literal. It also adds an abbreviated invocation statement that supports very convenient control abstraction. Soon I'll present a parallel proposal based on interfaces (that is, without function types) and contrast the two proposals.
Geschrieben von sascha am 8. September 2006 10:16:31 CEST
