1
0
mirror of https://github.com/dhil/phd-dissertation synced 2026-03-13 02:58:26 +00:00
This commit is contained in:
2021-05-17 23:18:03 +01:00
parent 9ba7def07b
commit 1129d2bb71

View File

@@ -498,7 +498,9 @@ programming~\cite{Claessen99,LiZ07,SymePL11}.
\subsubsection{State monad} \subsubsection{State monad}
% %
The state monad provides a way to encapsulate a state cell. The state monad encapsulates mutable state by using the state-passing
technique internally. It provides two operations for manipulating the
state cell.
% %
\begin{definition} \begin{definition}
The state monad is defined over some fixed state type $S$. The state monad is defined over some fixed state type $S$.