diff options
author | Adam Chlipala <adam@chlipala.net> | 2020-01-21 20:46:49 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-21 20:46:49 -0500 |
commit | cf25fee8d3d0dfacf6733521afea9a242a00d31e (patch) | |
tree | 819081bbd3e50a3ab5a759bb2aa80deb5fb7d8df /doc | |
parent | f500d43acd21458f95faad8b05ee25bf5b19a3fc (diff) | |
parent | a5115ec6628146cdc4b836b4e803c7bc781a4231 (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.tex | 2 |
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} \\ |