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.
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.
Original language | English |
---|---|
Title of host publication | Proceedings of 32nd Annual ACM/IEEE Symposium on Logic in Computer Science (LICS2017) |
Publisher | IEEE Computer Society Press |
Number of pages | 12 |
ISBN (Electronic) | 978-1-5090-3018-7 |
DOIs | |
Publication status | Published - 18 Aug 2017 |
Event | 32nd Annual ACM/IEEE Symposium on Logic in Computer Science (LICS 2017) - Reykjavik, Iceland Duration: 20 Jun 2017 → 23 Jun 2017 |
Conference
Conference | 32nd Annual ACM/IEEE Symposium on Logic in Computer Science (LICS 2017) |
---|---|
Country/Territory | Iceland |
City | Reykjavik |
Period | 20/06/17 → 23/06/17 |
Keywords
- cs.PL
- cs.LO
- math.CT