diff options
author | 2011-08-19 15:23:01 -0400 | |
---|---|---|
committer | 2011-08-19 15:23:01 -0400 | |
commit | ed93f02f2bad4c97b361025ebe851331f7640cad (patch) | |
tree | 49a42ce8909e7f3df3a9fe122d4da57b21f67108 /doc/manual.tex | |
parent | 7144b7ff351ce55fe39d107342ba2778331700e6 (diff) |
Basis.mkMonad
Diffstat (limited to 'doc/manual.tex')
-rw-r--r-- | doc/manual.tex | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/manual.tex b/doc/manual.tex index a1fe4a1d..052249ce 100644 --- a/doc/manual.tex +++ b/doc/manual.tex @@ -1382,7 +1382,11 @@ $$\begin{array}{l} \mt{val} \; \mt{bind} : \mt{m} ::: (\mt{Type} \to \mt{Type}) \to \mt{t1} ::: \mt{Type} \to \mt{t2} ::: \mt{Type} \\ \hspace{.1in} \to \mt{monad} \; \mt{m} \\ \hspace{.1in} \to \mt{m} \; \mt{t1} \to (\mt{t1} \to \mt{m} \; \mt{t2}) \\ - \hspace{.1in} \to \mt{m} \; \mt{t2} + \hspace{.1in} \to \mt{m} \; \mt{t2} \\ + \mt{val} \; \mt{mkMonad} : \mt{m} ::: (\mt{Type} \to \mt{Type}) \\ + \hspace{.1in} \to \{\mt{Return} : \mt{t} ::: \mt{Type} \to \mt{t} \to \mt{m} \; \mt{t}, \\ + \hspace{.3in} \mt{Bind} : \mt{t1} ::: \mt{Type} \to \mt{t2} ::: \mt{Type} \to \mt{m} \; \mt{t1} \to (\mt{t1} \to \mt{m} \; \mt{t2}) \to \mt{m} \; \mt{t2}\} \\ + \hspace{.1in} \to \mt{monad} \; \mt{m} \end{array}$$ \subsection{Transactions} |