Intersection Types for a Computational Lambda-Calculus with Global State

04/03/2021
by   Ugo de'Liguoro, et al.
0

We study the semantics of an untyped lambda-calculus equipped with operators representing read and write operations from and to a global state. We adopt the monadic approach to model side effects and treat read and write as algebraic operations over a computational monad. We introduce an operational semantics and a type assignment system of intersection types, and prove that types are invariant under reduction and expansion of term and state configurations, and characterize convergent terms via their typings.

READ FULL TEXT

Please sign up or login with your details

Forgot password? Click here to reset