Abstract
Continuations, when available as first-class objects, provide a general control abstraction in programming languages. They liberate the programmer from specific control structures, increasing programming language extensibility. Such continuations may be extended by embedding them in functional objects. This technique is first used to restore a fluid environment when a continuation object is invoked. We then consider technique for constraining the power of continuations in the interest of security and efficiency. Domain mechanisms, which create dynamic barriers for enclosing control, are implemented using fluids. Domains are then used to implement an unwind-protect facility in the presence of first-class continuations. Finally, we demonstrate two mechanisms, wind-unwind and dynamic-wind, that generalise unwind-protect.
Cite
CITATION STYLE
Friedman, D. P., & Haynes, C. T. (1985). CONSTRAINING CONTROL. In Conference Record of the Annual ACM Symposium on Principles of Programming Languages (pp. 245–254). ACM. https://doi.org/10.1145/318593.318654
Register to see more suggestions
Mendeley helps you to discover research relevant for your work.