Wiki

Clone wiki

inf225 / glossary / Closure

[Alphabetical Index | Tag Index]

Closure

A function (or other operation) packaged together with all the variables it can access from the surrounding scope in which it was defined. A related term is anonymous function, which does not necessarily imply access to variables from the surrounding scope. See also environment, stack frame.

[Wikipedia]

Updated