2017
DOI: 10.1017/s0956796817000132
|View full text |Cite
|
Sign up to set email alerts
|

Notions of computation as monoids

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 monoids in a monoidal category. We demonstrate that at this level of abstraction one can obtain useful results which can be instantiated to the different notions of computation. In particular, we show how free constructions and Cayley representations for monoids translate into useful constructions for monads, applicative functors, and arrow… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1
1
1

Citation Types

0
41
0

Year Published

2018
2018
2024
2024

Publication Types

Select...
3
2
1

Relationship

2
4

Authors

Journals

citations
Cited by 28 publications
(53 citation statements)
references
References 47 publications
0
41
0
Order By: Relevance
“…Hughes uses it to optimise list concatenation [9] and Voigtländer [22] uses the codensity monad transformer to optimise monadic computations. Rivas and Jaskelioff [17] show that these two optimisations are instances of the Cayley representation for monoids in a generalised setting, and extend it to applicative functors. Our work extends this representation to include the additional operators present in non-deterministic computations by moving from generalised monoids to generalised near-semirings.…”
Section: Codensity Monad and Cayley Representationmentioning
confidence: 87%
See 4 more Smart Citations
“…Hughes uses it to optimise list concatenation [9] and Voigtländer [22] uses the codensity monad transformer to optimise monadic computations. Rivas and Jaskelioff [17] show that these two optimisations are instances of the Cayley representation for monoids in a generalised setting, and extend it to applicative functors. Our work extends this representation to include the additional operators present in non-deterministic computations by moving from generalised monoids to generalised near-semirings.…”
Section: Codensity Monad and Cayley Representationmentioning
confidence: 87%
“…The monoid of endomorphisms over a set X is (X → X, •, id), where • is function composition and id is the identity function. Every monoid has an embedding into the monoid of endomorphisms over its carrier set, a result usually known as Cayley's theorem for monoids [17]. Proof.…”
Section: Cayley Representationmentioning
confidence: 99%
See 3 more Smart Citations