status: final (2018-09-15)
keywords: MiscellaneousSee also SRFI 157: Continuation marks.
Scheme has the notion of the dynamic extent of a
procedure call. A number of standard Scheme procedures and
deal with the dynamic extent indirectly. The same holds true
for the procedures and syntaxes dealing with continuation
marks as defined by SRFI
This SRFI reifies the dynamic extent into a first-class value together with a well-defined procedural interface and a syntax to create procedures that remember not only their environment at creation time but also their dynamic extent, which includes their dynamic environment.