Notions of computation as monoids

19Citations
Citations of this article
68Readers
Mendeley users who have this article in their library.

Abstract

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.

Cite

CITATION STYLE

APA

Rivas, E., & Jaskelioff, M. (2017). Notions of computation as monoids. Journal of Functional Programming, 27. https://doi.org/10.1017/S0956796817000132

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free