Home >

news ヘルプ

論文・著書情報


タイトル
和文: 
英文:Handling Delimited Continuations with Dependent Types 
著者
和文: 叢 悠悠, 浅井健一.  
英文: Youyou Cong, Kenichi Asai.  
言語 English 
掲載誌/書名
和文: 
英文:Proceedings of the ACM on Programming Languages 
巻, 号, ページ 2    ICFP   
出版年月 2018年8月 
出版者
和文: 
英文:ACM 
会議名称
和文: 
英文:The 23rd International Conference on Functional Programming 
開催地
和文: 
英文:St. Louis, MO 
公式リンク https://dl.acm.org/citation.cfm?id=3236764
 
DOI https://doi.org/10.1145/3236764
アブストラクト Dependent types are a powerful tool for maintaining program invariants. To take advantage of this aspect in real-world programming, efforts have been put into enriching dependently typed languages with missing constructs, most notably, effects. This paper presents a language that has two practically interesting ingredients: dependent inductive types, and the delimited control constructs shift and reset. When integrating delimited control into a dependently typed language, however, two challenges arise. First, the dynamic nature of control operators, which is the source of their expressiveness, can break fundamental language properties such as logical consistency and subject reduction. Second, CPS translations, which we often use to define the semantics of control operators, do not scale straightforwardly to dependently typed languages. We solve the former issue by restricting dependency of types, and the latter using answer-type polymorphism of pure terms. The main contribution of this paper is to give a sound type system of our language, as well as a type-preserving CPS translation. We also discuss various extensions, which would make our language more like a full-spectrum proof assistant but pose non-trivial issues.

©2007 Institute of Science Tokyo All rights reserved.