summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adam@chlipala.net>2020-01-21 20:46:49 -0500
committerGravatar GitHub <noreply@github.com>2020-01-21 20:46:49 -0500
commitcf25fee8d3d0dfacf6733521afea9a242a00d31e (patch)
tree819081bbd3e50a3ab5a759bb2aa80deb5fb7d8df /doc
parentf500d43acd21458f95faad8b05ee25bf5b19a3fc (diff)
parenta5115ec6628146cdc4b836b4e803c7bc781a4231 (diff)
Merge pull request #193 from mdempsky/monad-kind
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} \\