A simple library implementation of binary sessions
Keyword(s):
AbstractInspired by the continuation-passing encoding of binary sessions, we describe a simple approach to embed a hybrid form of session type checking into any programming language that supports parametric polymorphism. The approach combines static protocol analysis with dynamic linearity checks. To demonstrate the effectiveness of the technique, we implement a well-integrated OCaml module for session communications. For free, OCaml provides us with equirecursive session types, parametric behavioural polymorphism, complete session type inference, and session subtyping.
2021 ◽
pp. 178-206
Keyword(s):
Keyword(s):
2013 ◽
Vol 82
(8)
◽
pp. 263-281
◽
2011 ◽
Vol 69
◽
pp. 74-91
◽
2000 ◽
Vol 11
(01)
◽
pp. 65-87
Keyword(s):
2013 ◽
Vol 23
(5)
◽
pp. 552-593
◽