尚未生成 AI 速览(可能缺少 API key 或等待下次运行补跑)。
In their paper "A Functional Abstraction of Typed Contexts", Danvy and Filinski show how to derive a monomorphic type system of the shift and reset operators from a CPS semantics. In this paper, we show how this method scales to Felleisen's control and prompt operators. Compared to shift and reset, control and prompt exhibit a more dynamic behavior, in that they can manipulate a trail of contexts surrounding the invocation of previously captured continuations. Our key observation is that, by adopting a functional representation of trails in the CPS semantics, we can derive a type system that encodes all and only constraints imposed by the CPS semantics.
DOI 原文 ·
@article{paperbot1653,
title = {A Functional Abstraction of Typed Invocation Contexts},
author = {Youyou Cong and Chiaki Ishio and Kaho Honda and Kenichi Asai},
journal = {Logical Methods in Computer Science},
volume = {Volume 18, Issue 3},
year = {2022},
doi = {10.46298/lmcs-18(3:34)2022}
}