CIFASIS   20631
CENTRO INTERNACIONAL FRANCO ARGENTINO DE CIENCIAS DE LA INFORMACION Y DE SISTEMAS
Unidad Ejecutora - UE
artículos
Título:
Notions of computation as monoids*
Autor/es:
RIVAS, EXEQUIEL; JASKELIOFF, MAURO
Revista:
JOURNAL OF FUNCTIONAL PROGRAMMING
Editorial:
CAMBRIDGE UNIV PRESS
Referencias:
Año: 2017
ISSN:
0956-7968
Resumen:
There 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.