A monad for full ground reference cells

From MaRDI portal
Publication:5144656

zbMATH Open1458.68122arXiv1702.04908MaRDI QIDQ5144656FDOQ5144656


Authors: Ohad Kammar, Paul Blain Levy, Sean Moss, Sam Staton Edit this on Wikidata


Publication date: 19 January 2021

Abstract: We present a denotational account of dynamic allocation of potentially cyclic memory cells using a monad on a functor category. We identify the collection of heaps as an object in a different functor category equipped with a monad for adding hiding/encapsulation capabilities to the heaps. We derive a monad for full ground references supporting effect masking by applying a state monad transformer to the encapsulation monad. To evaluate the monad, we present a denotational semantics for a call-by-value calculus with full ground references, and validate associated code transformations.


Full work available at URL: https://arxiv.org/abs/1702.04908




Recommendations




Cited In (6)





This page was built for publication: A monad for full ground reference cells

Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q5144656)