paper

Local Type Inference for Context-Free Session Types

arXiv:2505.20855 · doi:10.4204/EPTCS.420.1

Abstract

We address the problem of local type inference for a language based on System F with context-free session types. We present an algorithm that leverages the bidirectional type checking approach to propagate type information, enabling first class polymorphism while addressing the intricacies brought about by the sequential composition operator and type equivalence. The algorithm improves the language's usability by eliminating the need for type annotations at type application sites.

In Proceedings PLACES 2025, arXiv:2505.19078

Local Type Inference for Context-Free Session Types · wovepaper