We study the semantics of an untyped lambda-calculus equipped with operators representing read and write operations from and to a global store. We adopt the monadic approach to model side-effects and treat read and write as algebraic operations over a monad. We introduce operational and denotational semantics and a type assignment system of intersection types and prove that types are invariant under the reduction and expansion of term and state configurations. Finally, we characterize convergent terms via their typings.
No takes yet. Share an insight, caveat, or question.
de’Liguoro et al. (2025) studied this question.
Synapse has enriched one closely related paper. Consider it for comparative context: