2017 · 13 citations · 20 references
ComputingComputer EngineeringComputer ScienceFormal MethodsMemoryProgramming LanguagesData TypesGarbage CollectionMemory ModelingObject-oriented ProgrammingRegister AllocationType SystemsDenotational ModelsDynamic Memory AllocationDynamic Resource AllocationEncapsulationMaskingMonadic SemanticsMonadsTransformations
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.
20
The Mechanical Evaluation of Expressions
P. J. Landin · The Computer Journal · 1964 · 932 citations · Full text
Computational lambda-calculus and monads
Eugenio Moggi · 2003 · 858 citations
Computing, Computer Science, Algebra +13
Intensional interpretations of functionals of finite type I
W. W. Tait · Journal of Symbolic Logic · 1967 · 557 citations
Humanities, Mathematics, Logic +13
John Launchbury, Simon Jones · 1994 · 207 citations · Full text
Simple imperative polymorphism
Andrew K. Wright · LISP and Symbolic Computation · 1995 · 197 citations