The Pairing of Contracts and Session Types

  • Authors:
  • Cosimo Laneve;Luca Padovani

  • Affiliations:
  • Department of Computer Science, University of Bologna,;Information Science and Technology Institute, University of Urbino,

  • Venue:
  • Concurrency, Graphs and Models
  • Year:
  • 2008

Quantified Score

Hi-index 0.00

Visualization

Abstract

We pair session types and contracts using two encodings. The encoding of session types accommodates width and depth subtyping, two properties that partially hold in contracts. The encoding of contracts accommodates complex synchronization patterns, since session types own a simple control protocol. The encodings allow one to use the two formalisms interchangeably, within the context of dyadic interactions.