A Simple Library Implementation of Binary Sessions - Archive ouverte HAL Accéder directement au contenu
Pré-Publication, Document De Travail Année : 2015

A Simple Library Implementation of Binary Sessions

Résumé

We leverage on former foundational studies on binary sessions to realize a session type system using only ordinary notions of generic types and of type equality. The type system does not always prevent non-linear usages of session endpoints, but linearity violations that may compromise safety are detected at runtime. We demonstrate the approach implementing a simple, well-integrated OCaml library for session communications. As a bonus, OCaml infers possibly recursive, polymorphic session types and also supports a form of session subtyping.
Fichier principal
Vignette du fichier
main.pdf (346.3 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)
Loading...

Dates et versions

hal-01216310 , version 1 (16-10-2015)

Identifiants

  • HAL Id : hal-01216310 , version 1

Citer

Luca Padovani. A Simple Library Implementation of Binary Sessions. 2015. ⟨hal-01216310⟩
278 Consultations
412 Téléchargements

Partager

Gmail Facebook X LinkedIn More