2018
DOI: 10.1145/3236764
|View full text |Cite
|
Sign up to set email alerts
|

Handling delimited continuations with dependent types

Abstract: 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, … Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1
1

Citation Types

0
10
0

Year Published

2020
2020
2024
2024

Publication Types

Select...
5
2

Relationship

1
6

Authors

Journals

citations
Cited by 8 publications
(10 citation statements)
references
References 41 publications
0
10
0
Order By: Relevance
“…For example, incorporating effects into dependent type theory could easily lead to inconsistency [Pédrot and Tabareau 2020]. This fact encourages dependent type systems to separate term-level computation from types [Ahman 2017;Casinghino et al 2014;Cong and Asai 2018;Sekiyama and Igarashi 2017;Swamy et al 2016;Xi 2007]. For program reasoning, the state transition caused by effectful computations has to be tracked [Ahmed et al 2009;Dreyer et al 2010;Pitts and Stark 1998].…”
Section: Introductionmentioning
confidence: 99%
“…For example, incorporating effects into dependent type theory could easily lead to inconsistency [Pédrot and Tabareau 2020]. This fact encourages dependent type systems to separate term-level computation from types [Ahman 2017;Casinghino et al 2014;Cong and Asai 2018;Sekiyama and Igarashi 2017;Swamy et al 2016;Xi 2007]. For program reasoning, the state transition caused by effectful computations has to be tracked [Ahmed et al 2009;Dreyer et al 2010;Pitts and Stark 1998].…”
Section: Introductionmentioning
confidence: 99%
“…By substituting this trail type for the µ 0 in the second compatibility relation, we obtain compatible(µ α , (α → • α), µ α ). This relation does not hold, as we prove in our Agda formalization 15 . As a consequence, we cannot close the above derivation.…”
Section: 3mentioning
confidence: 69%
“…Using the pure judgment and function types, we define the typing rules. There are several possible strategies for designing a fine-grained type system: • Define one rule for each combination of the purity of subexpressions [15]. This allows us to design the most optimized CPS translation, but results in a large number of typing rules (for instance, we would need 2 3 = 8 rules for application).…”
Section: Selective Cps Translation and Fine-grained Type Systemmentioning
confidence: 99%
See 1 more Smart Citation
“…For example, incorporating computational effects into dependent type theory could lead to inconsistency easily [Pédrot and Tabareau 2020]. This fact encourages dependent type systems to keep term-level computation separate from types [Casinghino et al 2014;Cong and Asai 2018;Sekiyama and Igarashi 2017;Swamy et al 2016;Xi 2007]. Another example is program reasoning, where state transition caused by effectful computations has to be tracked [Ahmed et al 2009;Dreyer et al 2010;Pitts and Stark 1998].…”
Section: Introductionmentioning
confidence: 99%