2019
DOI: 10.4204/eptcs.291.5
|View full text |Cite
|
Sign up to set email alerts
|

Value-Dependent Session Design in a Dependently Typed Language

Abstract: Session Types offer a typing discipline that allows protocol specifications to be used during typechecking, ensuring that implementations adhere to a given specification. When looking to realise global session types in a dependently typed language care must be taken that values introduced in the description are used by roles that know about the value.We present Sessions, a Resource Dependent Embedded Domain Specific Language (EDSL) for describing global session descriptions in the dependently typed language Id… Show more

Help me understand this report
View preprint versions

Search citation statements

Order By: Relevance

Paper Sections

Select...
4
1

Citation Types

0
6
0

Year Published

2020
2020
2023
2023

Publication Types

Select...
3
3
1

Relationship

1
6

Authors

Journals

citations
Cited by 8 publications
(6 citation statements)
references
References 33 publications
0
6
0
Order By: Relevance
“…Dependent session types have been studied in several forms, for binary session types [43,44], for multi-party session types [13,32,48] and for polymorphic, nested session types [10]. Although our parameterised type definitions have some similarities with definitions in some dependently typed systems, we do not support the connection between values in messages and parameters in types, and we have not yet studied how the types that can be expressed in dependent systems fit into our hierarchy.…”
Section: Related Workmentioning
confidence: 99%
“…Dependent session types have been studied in several forms, for binary session types [43,44], for multi-party session types [13,32,48] and for polymorphic, nested session types [10]. Although our parameterised type definitions have some similarities with definitions in some dependently typed systems, we do not support the connection between values in messages and parameters in types, and we have not yet studied how the types that can be expressed in dependent systems fit into our hierarchy.…”
Section: Related Workmentioning
confidence: 99%
“…Thus, the embedding gives us label-dependent session types [43] with no additional cost. Previous work in exploring value-dependent sessions in a dependently typed language [15] is directly expressible using linearity in Idris 2. We have not yet explored further extensions to session types, however, such as multiparty session types [22], dealing with exceptions during protocol execution [18] or dealing with errors in transmission in distributed systems.…”
Section: Session Typesmentioning
confidence: 99%
“…By choice, Idris accumulates much of best practices in implementing dependently-typed theories. To the best of our knowledge Idris is not restricted to value-dependency, although it appears to be possible to enforce such restrictions [de Muijnck-Hughes et al 2019]. Nishimura [1998] introduces a calculus for objects where messages (a method name and parameters) are first-class constructs.…”
Section: Related Workmentioning
confidence: 99%