Concurrent monads for shared state
Dagsetning
Höfundar
Journal Title
Journal ISSN
Volume Title
Útgefandi
Association for Computing Machinery
Útdráttur
In the monad-based approach to functional programming with effects, sequential composition, the primary high-level control structure for combining effectful functions, takes a special role. In this article, we advocate the idea that parallel composition should be recognized as a high-level control structure on an equal footing with sequential composition. We promote the concept of concurrent monad, which axiomatizes both sequential and parallel composition, and illustrate the approach by describing two concurrent monads for interleaving shared state concurrency: one of resumptions, the other of collections of traces.
Lýsing
Publisher Copyright: © 2024 Owner/Author.
Efnisorð
concurrency, concurrent monads, concurrent monoids, duoidal categories, effectful computation, parallel composition, Human-Computer Interaction, Computer Networks and Communications, Computer Vision and Pattern Recognition, Software
Citation
Rivas, E & Uustalu, T 2024, Concurrent monads for shared state. in Proceedings of the 26th International Symposium on Principles and Practice of Declarative Programming, PPDP 2024, Co-located with the 26th International Symposium on Formal Methods., 17, ACM International Conference Proceeding Series, Association for Computing Machinery, 26th International Symposium on Principles and Practice of Declarative Programming, PPDP 2024, 26th International Symposium on Formal Methods and held in conjunction with LOPSTR 2024, Milan, Italy, 10/09/24. https://doi.org/10.1145/3678232.3678249
conference
conference