Smalltalk-80: the language and its implementation
Smalltalk-80: the language and its implementation
Smalltalk: an introduction to application development using VisualWorks
Smalltalk: an introduction to application development using VisualWorks
Hi-index | 0.00 |
Closures increase considerably the level of a language by mixing access to local variables with remote execution of a set of locally-defined statements. However, to date closures have not been added to statically-typed languages because it is difficult to type them and runtime errors occur if local variables that no longer exist are accessed. We proposed a limited but quite general kind of closure for statically-typed object-oriented languages. They can be used in most situations normal closures can without introducing any runtime errors.