Monad (category theory)

From HandWiki
Short description: Operation in algebra and mathematics

In category theory, a branch of mathematics, a monad (also triple, triad, standard construction and fundamental construction)[1] is a monoid in the category of endofunctors. An endofunctor is a functor mapping a category to itself, and a monad is an endofunctor together with two natural transformations required to fulfill certain coherence conditions. Monads are used in the theory of pairs of adjoint functors, and they generalize closure operators on partially ordered sets to arbitrary categories. Monads are also useful in the theory of datatypes, the denotational semantics of imperative programming languages, and in functional programming languages, allowing languages with non-mutable states to do things such as simulate for-loops; see Monad (functional programming).

Introduction and definition

A monad is a certain type of endofunctor. For example, if [math]\displaystyle{ F }[/math] and [math]\displaystyle{ G }[/math] are a pair of adjoint functors, with [math]\displaystyle{ F }[/math] left adjoint to [math]\displaystyle{ G }[/math], then the composition [math]\displaystyle{ G \circ F }[/math] is a monad. If [math]\displaystyle{ F }[/math] and [math]\displaystyle{ G }[/math] are inverse functors, the corresponding monad is the identity functor. In general, adjunctions are not equivalences—they relate categories of different natures. The monad theory matters as part of the effort to capture what it is that adjunctions 'preserve'. The other half of the theory, of what can be learned likewise from consideration of [math]\displaystyle{ F \circ G }[/math], is discussed under the dual theory of comonads.

Formal definition

Throughout this article [math]\displaystyle{ C }[/math] denotes a category. A monad on [math]\displaystyle{ C }[/math] consists of an endofunctor [math]\displaystyle{ T \colon C \to C }[/math] together with two natural transformations: [math]\displaystyle{ \eta \colon 1_{C} \to T }[/math] (where [math]\displaystyle{ 1_{C} }[/math] denotes the identity functor on [math]\displaystyle{ C }[/math]) and [math]\displaystyle{ \mu \colon T^{2} \to T }[/math] (where [math]\displaystyle{ T^{2} }[/math] is the functor [math]\displaystyle{ T \circ T }[/math] from [math]\displaystyle{ C }[/math] to [math]\displaystyle{ C }[/math]). These are required to fulfill the following conditions (sometimes called coherence conditions):

  • [math]\displaystyle{ \mu \circ T\mu = \mu \circ \mu T }[/math] (as natural transformations [math]\displaystyle{ T^{3} \to T }[/math]); here [math]\displaystyle{ T\mu }[/math] and [math]\displaystyle{ \mu T }[/math] are formed by "horizontal composition"
  • [math]\displaystyle{ \mu \circ T \eta = \mu \circ \eta T = 1_{T} }[/math] (as natural transformations [math]\displaystyle{ T \to T }[/math]; here [math]\displaystyle{ 1_{T} }[/math] denotes the identity transformation from [math]\displaystyle{ T }[/math] to [math]\displaystyle{ T }[/math]).

We can rewrite these conditions using the following commutative diagrams:

Coherence law for the multiplication of a monad.svg
Coherence law for the unit of a monad.svg

See the article on natural transformations for the explanation of the notations [math]\displaystyle{ T\mu }[/math] and [math]\displaystyle{ \mu T }[/math], or see below the commutative diagrams not using these notions:

Monad multiplication explicit.svg              Monad unit explicit.svg

The first axiom is akin to the associativity in monoids if we think of [math]\displaystyle{ \mu }[/math] as the monoid's binary operation, and the second axiom is akin to the existence of an identity element (which we think of as given by [math]\displaystyle{ \eta }[/math]). Indeed, a monad on [math]\displaystyle{ C }[/math] can alternatively be defined as a monoid in the category [math]\displaystyle{ \mathbf{End}_{C} }[/math] whose objects are the endofunctors of [math]\displaystyle{ C }[/math] and whose morphisms are the natural transformations between them, with the monoidal structure induced by the composition of endofunctors.

The power set monad

The power set monad is a monad [math]\displaystyle{ \mathcal{P} }[/math] on the category [math]\displaystyle{ \mathbf{Set} }[/math]: For a set [math]\displaystyle{ A }[/math] let [math]\displaystyle{ T(A) }[/math] be the power set of [math]\displaystyle{ A }[/math] and for a function [math]\displaystyle{ f \colon A \to B }[/math] let [math]\displaystyle{ T(f) }[/math] be the function between the power sets induced by taking direct images under [math]\displaystyle{ f }[/math]. For every set [math]\displaystyle{ A }[/math], we have a map [math]\displaystyle{ \eta_{A} \colon A \to T(A) }[/math], which assigns to every [math]\displaystyle{ a\in A }[/math] the singleton [math]\displaystyle{ \{a\} }[/math]. The function

[math]\displaystyle{ \mu_{A} \colon T(T(A)) \to T(A) }[/math]

takes a set of sets to its union. These data describe a monad.


The axioms of a monad are formally similar to the monoid axioms. In fact, monads are special cases of monoids, namely they are precisely the monoids among endofunctors [math]\displaystyle{ \operatorname{End}(C) }[/math], which is equipped with the multiplication given by composition of endofunctors.

Composition of monads is not, in general, a monad. For example, the double power set functor [math]\displaystyle{ \mathcal{P} \circ \mathcal{P} }[/math] does not admit any monad structure.[2]


The categorical dual definition is a formal definition of a comonad (or cotriple); this can be said quickly in the terms that a comonad for a category [math]\displaystyle{ C }[/math] is a monad for the opposite category [math]\displaystyle{ C^{\mathrm{op}} }[/math]. It is therefore a functor [math]\displaystyle{ U }[/math] from [math]\displaystyle{ C }[/math] to itself, with a set of axioms for counit and comultiplication that come from reversing the arrows everywhere in the definition just given.

Monads are to monoids as comonads are to comonoids. Every set is a comonoid in a unique way, so comonoids are less familiar in abstract algebra than monoids; however, comonoids in the category of vector spaces with its usual tensor product are important and widely studied under the name of coalgebras.

Terminological history

The notion of monad was invented by Roger Godement in 1958 under the name "standard construction". Monad has been called "dual standard construction", "triple", "monoid" and "triad".[3] The term "monad" is used at latest 1967, by Jean Bénabou.[4][5]



The identity functor on a category [math]\displaystyle{ C }[/math] is a monad. Its multiplication and unit are the identity function on the objects of [math]\displaystyle{ C }[/math].

Monads arising from adjunctions

Any adjunction

[math]\displaystyle{ F: C \rightleftarrows D : G }[/math]

gives rise to a monad on C. This very widespread construction works as follows: the endofunctor is the composite

[math]\displaystyle{ T = G \circ F. }[/math]

This endofunctor is quickly seen to be a monad, where the unit map stems from the unit map [math]\displaystyle{ \operatorname{id}_C \to G \circ F }[/math] of the adjunction, and the multiplication map is constructed using the counit map of the adjunction:

[math]\displaystyle{ T^2 = G \circ F \circ G \circ F \xrightarrow{G \circ \text{counit} \circ F} G \circ F = T. }[/math]

In fact, any monad can be found as an explicit adjunction of functors using the Eilenberg–Moore category [math]\displaystyle{ C^T }[/math] (the category of [math]\displaystyle{ T }[/math]-algebras).[6]

Double dualization

The double dualization monad, for a fixed field k arises from the adjunction

[math]\displaystyle{ (-)^* : \mathbf{Vect}_k \rightleftarrows \mathbf{Vect}_k^{op} : (-)^* }[/math]

where both functors are given by sending a vector space V to its dual vector space [math]\displaystyle{ V^* := \operatorname{Hom}(V, k) }[/math]. The associated monad sends a vector space V to its double dual [math]\displaystyle{ V^{**} }[/math]. This monad is discussed, in much greater generality, by (Kock 1970).

Closure operators on partially ordered sets

For categories arising from partially ordered sets [math]\displaystyle{ (P, \le) }[/math] (with a single morphism from [math]\displaystyle{ x }[/math] to [math]\displaystyle{ y }[/math] if and only if [math]\displaystyle{ x \le y }[/math]), then the formalism becomes much simpler: adjoint pairs are Galois connections and monads are closure operators.

Free-forgetful adjunctions

For example, let [math]\displaystyle{ G }[/math] be the forgetful functor from the category Grp of groups to the category Set of sets, and let [math]\displaystyle{ F }[/math] be the free group functor from the category of sets to the category of groups. Then [math]\displaystyle{ F }[/math] is left adjoint of [math]\displaystyle{ G }[/math]. In this case, the associated monad [math]\displaystyle{ T = G \circ F }[/math] takes a set [math]\displaystyle{ X }[/math] and returns the underlying set of the free group [math]\displaystyle{ \mathrm{Free}(X) }[/math]. The unit map of this monad is given by the maps

[math]\displaystyle{ X \to T(X) }[/math]

including any set [math]\displaystyle{ X }[/math] into the set [math]\displaystyle{ \mathrm{Free}(X) }[/math] in the natural way, as strings of length 1. Further, the multiplication of this monad is the map

[math]\displaystyle{ T(T(X)) \to T(X) }[/math]

made out of a natural concatenation or 'flattening' of 'strings of strings'. This amounts to two natural transformations. The preceding example about free groups can be generalized to any type of algebra in the sense of a variety of algebras in universal algebra. Thus, every such type of algebra gives rise to a monad on the category of sets. Importantly, the algebra type can be recovered from the monad (as the category of Eilenberg–Moore algebras), so monads can also be seen as generalizing varieties of universal algebras.

Another monad arising from an adjunction is when [math]\displaystyle{ T }[/math] is the endofunctor on the category of vector spaces which maps a vector space [math]\displaystyle{ V }[/math] to its tensor algebra [math]\displaystyle{ T(V) }[/math], and which maps linear maps to their tensor product. We then have a natural transformation corresponding to the embedding of [math]\displaystyle{ V }[/math] into its tensor algebra, and a natural transformation corresponding to the map from [math]\displaystyle{ T(T(V)) }[/math] to [math]\displaystyle{ T(V) }[/math] obtained by simply expanding all tensor products.

Codensity monads

Under mild conditions, functors not admitting a left adjoint also give rise to a monad, the so-called codensity monad. For example, the inclusion

[math]\displaystyle{ \mathbf{FinSet} \subset \mathbf{Set} }[/math]

does not admit a left adjoint. Its codensity monad is the monad on sets sending any set X to the set of ultrafilters on X. This and similar examples are discussed in (Leinster 2013).

Monads used in denotational semantics

The following monads over the category of sets are used in denotational semantics of imperative programming languages, and analogous constructions are used in functional programming.

The maybe monad

The endofunctor of the maybe or partiality monad adds a disjoint point:[7]

[math]\displaystyle{ (-)_{*}: \mathbf{Set}\to\mathbf{Set} }[/math]
[math]\displaystyle{ X\mapsto X\cup\{*\} }[/math]

The unit is given by the inclusion of a set [math]\displaystyle{ X }[/math] into [math]\displaystyle{ X_* }[/math]:

[math]\displaystyle{ \eta_X: X\to X_{*} }[/math]
[math]\displaystyle{ x\mapsto x }[/math]

The multiplication maps elements of [math]\displaystyle{ X }[/math] to themselves, and the two disjoint points in [math]\displaystyle{ (X_{*})_{*} }[/math] to the one in [math]\displaystyle{ X_{*} }[/math].

In both functional programming and denontational semantics, the maybe monad models partial computations, that is, computations that may fail.

The state monad

Given a set [math]\displaystyle{ S }[/math], the endofunctor of the state monad maps each set [math]\displaystyle{ X }[/math] to the set of functions [math]\displaystyle{ S\to S \times X }[/math]. The component of the unit at [math]\displaystyle{ X }[/math] maps each element [math]\displaystyle{ x\in X }[/math] to the function

[math]\displaystyle{ \eta_X(x): S\to S\times X }[/math]
[math]\displaystyle{ s\mapsto (s, x) }[/math]

The multiplication maps the function [math]\displaystyle{ f: S\to S\times (S\to S\times X), s\mapsto (s',f') }[/math] to the function

[math]\displaystyle{ \mu_X(f): S\to S\times X }[/math]
[math]\displaystyle{ s\mapsto f'(s') }[/math]

In functional programming and denotational semantics, the state monad models stateful computations.

The environment monad

Given a set [math]\displaystyle{ E }[/math], the endofunctor of the reader or environment monad maps each set [math]\displaystyle{ X }[/math] to the set of functions [math]\displaystyle{ E\to X }[/math]. Thus, the endofunctor of this monad is exactly the hom functor [math]\displaystyle{ \mathrm{Hom}(E, -) }[/math]. The component of the unit at [math]\displaystyle{ X }[/math] maps each element [math]\displaystyle{ x\in X }[/math] to the constant function [math]\displaystyle{ e\mapsto x }[/math].

In functional programming and denotational semantics, the environment monad models computations with access to some read-only data.

The list and set monads

The list or nondeterminism monad maps a set X to the set of finite sequences (i.e., lists) with elements from X. The unit maps an element x in X to the singleton list [x]. The multiplication concatenates a list of lists into a single list.

In functional programming, the list monad is used to model nondeterministic computations. The covariant powerset monad is also known as the set monad, and is also used to model nondeterministic computation.

Algebras for a monad

Given a monad [math]\displaystyle{ (T,\eta,\mu) }[/math] on a category [math]\displaystyle{ C }[/math], it is natural to consider [math]\displaystyle{ T }[/math]-algebras, i.e., objects of [math]\displaystyle{ C }[/math] acted upon by [math]\displaystyle{ T }[/math] in a way which is compatible with the unit and multiplication of the monad. More formally, a [math]\displaystyle{ T }[/math]-algebra [math]\displaystyle{ (x,h) }[/math] is an object [math]\displaystyle{ x }[/math] of [math]\displaystyle{ C }[/math] together with an arrow [math]\displaystyle{ h\colon Tx\to x }[/math] of [math]\displaystyle{ C }[/math] called the structure map of the algebra such that the diagrams

Monad multi algebra.svg and Monad unit algebra.svg


A morphism [math]\displaystyle{ f\colon (x,h)\to(x',h') }[/math] of [math]\displaystyle{ T }[/math]-algebras is an arrow [math]\displaystyle{ f\colon x\to x' }[/math] of [math]\displaystyle{ C }[/math] such that the diagram

Monad morphism algebra.svg

commutes. [math]\displaystyle{ T }[/math]-algebras form a category called the Eilenberg–Moore category and denoted by [math]\displaystyle{ C^T }[/math].


Algebras over the free group monad

For example, for the free group monad discussed above, a [math]\displaystyle{ T }[/math]-algebra is a set [math]\displaystyle{ X }[/math] together with a map from the free group generated by [math]\displaystyle{ X }[/math] towards [math]\displaystyle{ X }[/math] subject to associativity and unitality conditions. Such a structure is equivalent to saying that [math]\displaystyle{ X }[/math] is a group itself.

Algebras over the distribution monad

Another example is the distribution monad [math]\displaystyle{ \mathcal{D} }[/math] on the category of sets. It is defined by sending a set [math]\displaystyle{ X }[/math] to the set of functions [math]\displaystyle{ f : X \to [0,1] }[/math] with finite support and such that their sum is equal to [math]\displaystyle{ 1 }[/math]. In set-builder notation, this is the set[math]\displaystyle{ \mathcal{D}(X) = \left\{ f: X \to [0,1] : \begin{matrix} \#\text{supp}(f) \lt +\infty \\ \sum_{x \in X} f(x) = 1 \end{matrix} \right\} }[/math]By inspection of the definitions, it can be shown that algebras over the distribution monad are equivalent to convex sets, i.e., sets equipped with operations [math]\displaystyle{ x +_r y }[/math] for [math]\displaystyle{ r \in [0,1] }[/math] subject to axioms resembling the behavior of convex linear combinations [math]\displaystyle{ rx + (1-r)y }[/math] in Euclidean space.[8]

Algebras over the symmetric monad

Another useful example of a monad is the symmetric algebra functor on the category of [math]\displaystyle{ R }[/math]-modules for a commutative ring [math]\displaystyle{ R }[/math].[math]\displaystyle{ \text{Sym}^\bullet(-): \text{Mod}(R) \to \text{Mod}(R) }[/math]sending an [math]\displaystyle{ R }[/math]-module [math]\displaystyle{ M }[/math] to the direct sum of symmetric tensor powers[math]\displaystyle{ \text{Sym}^\bullet(M) = \bigoplus_{k=0}^\infty \text{Sym}^k(M) }[/math]where [math]\displaystyle{ \text{Sym}^0(M) = R }[/math]. For example, [math]\displaystyle{ \text{Sym}^\bullet(R^{\oplus n}) \cong R[x_1,\ldots, x_n] }[/math] where the [math]\displaystyle{ R }[/math]-algebra on the right is considered as a module. Then, an algebra over this monad are commutative [math]\displaystyle{ R }[/math]-algebras. There are also algebras over the monads for the alternating tensors [math]\displaystyle{ \text{Alt}^\bullet(-) }[/math] and total tensor functors [math]\displaystyle{ T^\bullet(-) }[/math] giving anti-symmetric [math]\displaystyle{ R }[/math]-algebras, and free [math]\displaystyle{ R }[/math]-algebras, so[math]\displaystyle{ \begin{align} \text{Alt}^\bullet(R^{\oplus n}) &= R(x_1,\ldots, x_n)\\ \text{T}^\bullet(R^{\oplus n}) &= R\langle x_1,\ldots, x_n \rangle \end{align} }[/math]where the first ring is the free anti-symmetric algebra over [math]\displaystyle{ R }[/math] in [math]\displaystyle{ n }[/math]-generators and the second ring is the free algebra over [math]\displaystyle{ R }[/math] in [math]\displaystyle{ n }[/math]-generators.

Commutative algebras in E-infinity ring spectra

There is an analogous construction for commutative [math]\displaystyle{ \mathbb{S} }[/math]-algebras[9]pg 113 which gives commutative [math]\displaystyle{ A }[/math]-algebras for a commutative [math]\displaystyle{ \mathbb{S} }[/math]-algebra [math]\displaystyle{ A }[/math]. If [math]\displaystyle{ \mathcal{M}_A }[/math] is the category of [math]\displaystyle{ A }[/math]-modules, then the functor [math]\displaystyle{ \mathbb{P}: \mathcal{M}_A \to \mathcal{M}_A }[/math] is the monad given by[math]\displaystyle{ \mathbb{P}(M) = \bigvee_{j \geq 0} M^j/\Sigma_j }[/math]where[math]\displaystyle{ M^j = M\wedge_A \cdots \wedge_A M }[/math] [math]\displaystyle{ j }[/math]-times. Then there is an associated category [math]\displaystyle{ \mathcal{C}_A }[/math] of commutative [math]\displaystyle{ A }[/math]-algebras from the category of algebras over this monad.

Monads and adjunctions

As was mentioned above, any adjunction gives rise to a monad. Conversely, every monad arises from some adjunction, namely the free–forgetful adjunction

[math]\displaystyle{ T(-) : C \rightleftarrows C^T : \text{forget} }[/math]

whose left adjoint sends an object X to the free T-algebra T(X). However, there are usually several distinct adjunctions giving rise to a monad: let [math]\displaystyle{ \mathbf{Adj}(C,T) }[/math] be the category whose objects are the adjunctions [math]\displaystyle{ (F,G,e,\varepsilon) }[/math] such that [math]\displaystyle{ (GF, e, G\varepsilon F)=(T,\eta,\mu) }[/math] and whose arrows are the morphisms of adjunctions that are the identity on [math]\displaystyle{ C }[/math]. Then the above free–forgetful adjunction involving the Eilenberg–Moore category [math]\displaystyle{ C^T }[/math] is a terminal object in [math]\displaystyle{ \mathbf{Adj}(C,T) }[/math]. An initial object is the Kleisli category, which is by definition the full subcategory of [math]\displaystyle{ C^T }[/math] consisting only of free T-algebras, i.e., T-algebras of the form [math]\displaystyle{ T(x) }[/math] for some object x of C.

Monadic adjunctions

Given any adjunction [math]\displaystyle{ (F : C \to D,G : D \to C,\eta,\varepsilon) }[/math] with associated monad T, the functor G can be factored as

[math]\displaystyle{ D \stackrel{\tilde G} \to C^T \stackrel{\text{forget}} \to C, }[/math]

i.e., G(Y) can be naturally endowed with a T-algebra structure for any Y in D. The adjunction is called a monadic adjunction if the first functor [math]\displaystyle{ \tilde G }[/math] yields an equivalence of categories between D and the Eilenberg–Moore category [math]\displaystyle{ C^T }[/math].[10] By extension, a functor [math]\displaystyle{ G\colon D\to C }[/math] is said to be monadic if it has a left adjoint [math]\displaystyle{ F }[/math] forming a monadic adjunction. For example, the free–forgetful adjunction between groups and sets is monadic, since algebras over the associated monad are groups, as was mentioned above. In general, knowing that an adjunction is monadic allows one to reconstruct objects in D out of objects in C and the T-action.

Beck's monadicity theorem

Beck's monadicity theorem gives a necessary and sufficient condition for an adjunction to be monadic. A simplified version of this theorem states that G is monadic if it is conservative (or G reflects isomorphisms, i.e., a morphism in D is an isomorphism if and only if its image under G is an isomorphism in C) and C has and G preserves coequalizers.

For example, the forgetful functor from the category of compact Hausdorff spaces to sets is monadic. However the forgetful functor from all topological spaces to sets is not conservative since there are continuous bijective maps (between non-compact or non-Hausdorff spaces) that fail to be homeomorphisms. Thus, this forgetful functor is not monadic.[11] The dual version of Beck's theorem, characterizing comonadic adjunctions, is relevant in different fields such as topos theory and topics in algebraic geometry related to descent. A first example of a comonadic adjunction is the adjunction

[math]\displaystyle{ - \otimes_A B : \mathbf{Mod}_A \rightleftarrows \mathbf{Mod}_B : \operatorname{forget} }[/math]

for a ring homomorphism [math]\displaystyle{ A \to B }[/math] between commutative rings. This adjunction is comonadic, by Beck's theorem, if and only if B is faithfully flat as an A-module. It thus allows to descend B-modules, equipped with a descent datum (i.e., an action of the comonad given by the adjunction) to A-modules. The resulting theory of faithfully flat descent is widely applied in algebraic geometry.


Monads are used in functional programming to express types of sequential computation (sometimes with side-effects). See monads in functional programming, and the more mathematically oriented Wikibook module b:Haskell/Category theory.

Monads are used in the denotational semantics of impure functional and imperative programming languages.[12][13]

In categorical logic, an analogy has been drawn between the monad-comonad theory, and modal logic via closure operators, interior algebras, and their relation to models of S4 and intuitionistic logics.


It is possible to define monads in a 2-category [math]\displaystyle{ C }[/math]. Monads described above are monads for [math]\displaystyle{ C = \mathbf{Cat} }[/math].

See also


  1. Barr, Michael; Wells, Charles (1985), "Toposes, Triples and Theories", Grundlehren der mathematischen Wissenschaften (Springer-Verlag) 278: pp. 82 and 120, ISBN 0-387-96115-1, 
  2. Klin; Salamanca (2018), "Iterated Covariant Powerset is not a Monad", Electronic Notes in Theoretical Computer Science 341: 261–276, doi:10.1016/j.entcs.2018.11.013 
  3. Mac Lane 1978, p. 138.
  4. Bénabou, Jean (1967). Bénabou, J.; Davis, R.; Dold, A. et al.. eds. "Introduction to bicategories" (in en). Reports of the Midwest Category Seminar. Lecture Notes in Mathematics (Berlin, Heidelberg: Springer) 47: 1–77. doi:10.1007/BFb0074299. ISBN 978-3-540-35545-8. 
  5. "RE: Monads". 2009-04-04. 
  6. Riehl, Emily. "Category Theory in Context". p. 162. 
  7. Riehl 2017, p. 155.
  8. Świrszcz, T. (1974), "Monadic functors and convexity", Bull. Acad. Polon. Sci. Sér. Sci. Math. Astron. Phys. 22: 39–42 , Jacobs, Bart (2010), "Convexity, Duality and Effects", Theoretical Computer Science, IFIP Advances in Information and Communication Technology, 323, pp. 1–19, doi:10.1007/978-3-642-15240-5_1, ISBN 978-3-642-15239-9 
  9. Basterra, M. (1999-12-15). "André–Quillen cohomology of commutative S-algebras" (in en). Journal of Pure and Applied Algebra 144 (2): 111–143. doi:10.1016/S0022-4049(98)00051-6. ISSN 0022-4049. 
  10. (MacLane 1978) uses a stronger definition, where the two categories are isomorphic rather than equivalent.
  11. (MacLane 1978)
  12. Wadler, Philip (1993). Broy, Manfred. ed. "Monads for functional programming" (in en). Program Design Calculi. NATO ASI Series (Berlin, Heidelberg: Springer) 118: 233–264. doi:10.1007/978-3-662-02880-3_8. ISBN 978-3-662-02880-3.  "The concept of a monad, which arises from category theory, has been applied by Moggi to structure the denotational semantics of programming languages."
  13. Mulry, Philip S. (1998-01-01). "Monads in Semantics" (in en). Electronic Notes in Theoretical Computer Science. US-Brazil Joint Workshops on the Formal Foundations of Software Systems 14: 275–286. doi:10.1016/S1571-0661(05)80241-5. ISSN 1571-0661. 

Further reading

External links