We propose a type-based analysis to infer the session protocols of channels in an ML-like concurrent functional language. Combining and extending well-known techniques, we develop a type-checking system that separates the underlying ML type system from the typing of sessions. Without using linearity, our system guarantees communication safety and partial lock freedom. It also supports provably complete session inference for finite sessions with no programmer annotations. We exhibit the usefulness of our system with interesting examples, including one which is not typable in substructural type systems.
CITATION STYLE
Spaccasassi, C., & Koutavas, V. (2016). Type-based analysis for session inference: (Extended abstract). In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 9688, pp. 248–266). Springer Verlag. https://doi.org/10.1007/978-3-319-39570-8_17
Mendeley helps you to discover research relevant for your work.