Author:
RIVAS EXEQUIEL,JASKELIOFF MAURO
Abstract
AbstractThere are different notions of computation, the most popular being monads, applicative functors, and arrows. In this article, we show that these three notions can be seen as instances of a unifying abstract concept: monoids in monoidal categories. We demonstrate that even when working at this high level of generality, one can obtain useful results. In particular, we give conditions under which one can obtain free monoids and Cayley representations at the level of monoidal categories, and we show that their concretisation results in useful constructions for monads, applicative functors, and arrows. Moreover, by taking advantage of the uniform presentation of the three notions of computation, we introduce a principled approach to the analysis of the relation between them.
Publisher
Cambridge University Press (CUP)
Cited by
17 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. A framework for higher-order effects & handlers;Science of Computer Programming;2024-05
2. Profunctor Optics, a Categorical Update;Compositionality;2024-02-23
3. Phases in Software Architecture;Proceedings of the 1st ACM SIGPLAN International Workshop on Functional Software Architecture;2023-08-30
4. Modular Models of Monoids with Operations;Proceedings of the ACM on Programming Languages;2023-08-30
5. Oregano: staging regular expressions with Moore Cayley fusion;Proceedings of the 15th ACM SIGPLAN International Haskell Symposium;2022-09-06