Files in this item
Value-dependent session design in a dependently typed language
Item metadata
dc.contributor.author | de Muijnck-Hughes, Jan | |
dc.contributor.author | Brady, Edwin Charles | |
dc.contributor.author | Vanderbauwhede, Wim | |
dc.contributor.editor | Martins, Francisco | |
dc.contributor.editor | Orchard, Dominic | |
dc.date.accessioned | 2019-05-14T09:30:07Z | |
dc.date.available | 2019-05-14T09:30:07Z | |
dc.date.issued | 2019-04-02 | |
dc.identifier | 258172592 | |
dc.identifier | 861c51b5-2c2d-42ab-949d-90737c39a4f8 | |
dc.identifier | 85065976635 | |
dc.identifier | 000465439200006 | |
dc.identifier.citation | de Muijnck-Hughes , J , Brady , E C & Vanderbauwhede , W 2019 , Value-dependent session design in a dependently typed language . in F Martins & D Orchard (eds) , Proceedings Programming Language Approaches to Concurrency- and Communication-cEntric Software, Prague, Czech Republic, 7th April 2019 . Electronic Proceedings in Theoretical Computer Science , vol. 291 , Open Publishing Association , pp. 47-59 , Programming Language Approaches to Concurrency- & Communication-cEntric Software (PLACES 2019) , Prague , Czech Republic , 7/04/19 . https://doi.org/10.4204/EPTCS.291.5 | en |
dc.identifier.citation | workshop | en |
dc.identifier.issn | 2075-2180 | |
dc.identifier.other | ORCID: /0000-0002-9734-367X/work/58054931 | |
dc.identifier.uri | https://hdl.handle.net/10023/17700 | |
dc.description.abstract | Session Types offer a typing discipline that allows protocol specifications to be used during type-checking, 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 Idris. As we construct session descriptions the values parameterising the EDSLs’ type keeps track of roles and messages they have encountered. We can use this knowledge to ensure that message values are only used by those who know the value. Sessions supports protocol descriptions that are computable, composable, higher-order, and value-dependent. We demonstrate Sessions expressiveness by describing the TCP Handshake, a multi-modal server providing echo and basic arithmetic operations, and a Higher-Order protocol that supports an authentication interaction step. | |
dc.format.extent | 169382 | |
dc.language.iso | eng | |
dc.publisher | Open Publishing Association | |
dc.relation.ispartof | Proceedings Programming Language Approaches to Concurrency- and Communication-cEntric Software, Prague, Czech Republic, 7th April 2019 | en |
dc.relation.ispartofseries | Electronic Proceedings in Theoretical Computer Science | en |
dc.subject | QA75 Electronic computers. Computer science | en |
dc.subject | T Technology (General) | en |
dc.subject | T-NDAS | en |
dc.subject.lcc | QA75 | en |
dc.subject.lcc | T1 | en |
dc.title | Value-dependent session design in a dependently typed language | en |
dc.type | Conference item | en |
dc.contributor.institution | University of St Andrews. School of Computer Science | en |
dc.identifier.doi | https://doi.org/10.4204/EPTCS.291.5 | |
dc.identifier.url | http://eptcs.web.cse.unsw.edu.au/paper.cgi?PLACES2019.5 | en |
This item appears in the following Collection(s)
Items in the St Andrews Research Repository are protected by copyright, with all rights reserved, unless otherwise indicated.