status: final (2018/9/15)See 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.