Monad combinatorics
Ash Asudeh, Gianluca Giorgolo
Source record
Source: Crossref
Published: Sep 15, 2020
DOI: 10.1093/oso/9780198847854.003.0007
Open original source ↗Source abstract
This chapter considers how the monadic formalization deals with interactions between the phenomena from the second part of the book by examining the pairwise interaction of all three phenomena. Distributive laws are introduced to combine monads. The chapter shows that only certain combinations of the monads from the second part have definable distributive laws. These results comport with linguistic intuitions. The option of using the related category-theoretic concepts of functors and applicative functors instead of monads is also considered. The chapter shows that functors are not powerful enough and that applicative functors introduce a tracking/layering problem that is inelegant. Also, the closure property of applicative functor composition, whereby the composition of any two applicative functors is also an applicative functor, overgenerates with respect to the data. Monads are therefore argued to be empirically superior to applicative functors in this domain precisely because they lack the closure property. Some exercises are provided to aid understanding.
Evidence graph
No public relationships recorded yet.
Integrity note: This page is a factual metadata record created by deterministic ingestion. It is not a claim that the work moves a mathematical frontier or has been independently verified.