conference-paper
Open access
Embedding session types in Haskell
Research footprint
At a glance
- Citations
- 46
- References
- 28
- Comments
- 0
Paper overview
Abstract
We present a novel embedding of session-typed concurrency in Haskell. We extend an existing HOAS embedding of linear λ-calculus with a set of core session-typed primitives, using indexed type families to express the constraints of the session typing discipline. We give two interpretations of our embedding, one in terms of GHC’s built-in concurrency and another in terms of purely functional continuations. Our safety guarantees, including deadlock freedom, are assured statically and introduce no additional runtime overhead.
Record transparency
Publication details
- DOI
- 10.1145/2976002.2976018
- OpenAlex
- W2514073179
- Document type
- conference-paper
- Language
- EN
- Last metadata update
Comments
Log in to join the discussion.