Mercurial > urweb
diff doc/manual.tex @ 1638:3bf727a08db8
Manual typo fix
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Sat, 17 Dec 2011 20:42:39 -0500 |
parents | 438561303d02 |
children | 68429cfce8db |
line wrap: on
line diff
--- a/doc/manual.tex Sat Dec 17 13:10:23 2011 -0500 +++ b/doc/manual.tex Sat Dec 17 20:42:39 2011 -0500 @@ -1393,7 +1393,7 @@ \hspace{.1in} \to \mt{monad} \; \mt{m} \end{array}$$ -The Ur/Web compiler provides syntactic sugar for monads, similar to Haskell's \cd{do} notation. An expression $x \leftarrow e_1; e_2$ is desugarded to $\mt{bind} \; e_1 \; (\lambda x \Rightarrow e_2)$, and an expression $e_1; e_2$ is desugared to $\mt{bind} \; e_1 \; (\lambda () \Rightarrow e_2)$. +The Ur/Web compiler provides syntactic sugar for monads, similar to Haskell's \cd{do} notation. An expression $x \leftarrow e_1; e_2$ is desugared to $\mt{bind} \; e_1 \; (\lambda x \Rightarrow e_2)$, and an expression $e_1; e_2$ is desugared to $\mt{bind} \; e_1 \; (\lambda () \Rightarrow e_2)$. \subsection{Transactions}