Published October 17, 2021 | Version v1

Session Types in Elixir

  • 1. ROR icon University of Malta

Description

This paper proposes an adaptation of session types to provide behavioural information about public functions in Elixir modules. We formalise typechecking rules for the main constructs of the language. This allows us to statically determine whether a function implementation observes its session endpoint specification. Based on this type system, we then construct a tool that automates typechecking for Elixir modules.

Files

Agere21 - TaboneFrancalanza2021.pdf

Files (733.3 kB)

Name Size Download all
md5:311ecd783eded6de202c1a018bb4be4d
733.3 kB Preview Download

Additional details

Related works

Is continued by
Conference paper: 10.4204/EPTCS.365.2 (DOI)
Journal article: 10.1016/J.JLAMP.2023.100891 (DOI)
Is supplemented by
Software: https://github.com/gertab/ElixirST (URL)

Funding

European Commission
BEHAPI - Behavioural Application Program Interfaces 778233