Node:О замыканиях,
Previous:О выражениях,
Up:Общее представление о Scheme
[Показать/скрыть оригинал] [Показать/скрыть перевод] [Переключить перевод и оригинал]
The concept of closure is the idea that a lambda expression "captures" the variable bindings that are in lexical scope at the point where the lambda expression occurs. The procedure created by the lambda expression can refer to and mutate the captured bindings, and the values of those bindings persist between procedure calls.
Концепция замыкания (closure) состоит в возможности для labmda-выражения "захватывать" привязки переменных в лексическом контексте (lexical scope) lamda-выражения в момент выполнения. Процедура, созданная при помощи lambda-выражения может ссылаться на захваченные привязки, изменять их. Изменения сохраняются между вызовами процедур.
This section explains and explores the various parts of this idea in more detail.
В этом разделе каждая часть этой идеи подробно описывается и исследуется.
> > далее > >