Meaning of CLOSURE in English


1. < programming > In a reduction system , a closure is a data structure that holds an expression and an environment of variable bindings in which that expression is to be evaluated. The variables may be local or global. Closures are used to represent unevaluated expressions when implementing functional programming languages with lazy evaluation . In a real implementation, both expression and environment are represented by pointers.

A suspension is a closure which includes a flag to say whether or not it has been evaluated. The term " thunk " has come to be synonymous with "closure" but originated outside functional programming .

2. In domain theory , given a partially ordered set , D and a subset, X of D, the upward closure of X in D is the union over all x in X of the sets of all d in D such that x (" LaTeX as \subseteq and the upward closure of X in D is written \uparrow_\ D X).


FOLDOC computer English dictionary.      Английский словарь по компьютерам FOLDOC.