summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGravatar Matthew Dempsky <matthew@dempsky.org>2020-01-21 09:51:42 -0800
committerGravatar Matthew Dempsky <matthew@dempsky.org>2020-01-21 09:51:42 -0800
commita5115ec6628146cdc4b836b4e803c7bc781a4231 (patch)
tree819081bbd3e50a3ab5a759bb2aa80deb5fb7d8df /doc
parentf500d43acd21458f95faad8b05ee25bf5b19a3fc (diff)
monad has kind (Type->Type)->Type, not just Type->Type
Diffstat (limited to 'doc')
-rw-r--r--doc/manual.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/manual.tex b/doc/manual.tex
index 44cd0007..3d8e9381 100644
--- a/doc/manual.tex
+++ b/doc/manual.tex
@@ -1473,7 +1473,7 @@ Some operations are only allowed in server-side code or only in client-side code
The Ur Basis defines the monad constructor class from Haskell.
$$\begin{array}{l}
- \mt{class} \; \mt{monad} :: \mt{Type} \to \mt{Type} \\
+ \mt{class} \; \mt{monad} :: (\mt{Type} \to \mt{Type}) \to \mt{Type} \\
\mt{val} \; \mt{return} : \mt{m} ::: (\mt{Type} \to \mt{Type}) \to \mt{t} ::: \mt{Type} \\
\hspace{.1in} \to \mt{monad} \; \mt{m} \\
\hspace{.1in} \to \mt{t} \to \mt{m} \; \mt{t} \\