| | |
Summary: A TypeTheoretic Foundation of
Continuations and Prompts
Zena M. Ariola
University of Oregon
ariola@cs.uoregon.edu
Hugo Herbelin
INRIAFuturs
Hugo.Herbelin@inria.fr
Amr Sabry
Indiana University
sabry@indiana.edu
Abstract
There is a correspondence between classical logic and program
ming language calculi with firstclass continuations. With the addi
tion of control delimiters (prompts), the continuations become com
posable and the calculi are believed to become more expressive.
We formalise that the addition of prompts corresponds to the addi
tion of a single dynamicallyscoped variable modelling the special
toplevel continuation. From a type perspective, the dynamically
scoped variable requires effect annotations. From a logic perspec
|