From a5115ec6628146cdc4b836b4e803c7bc781a4231 Mon Sep 17 00:00:00 2001 From: Matthew Dempsky Date: Tue, 21 Jan 2020 09:51:42 -0800 Subject: monad has kind (Type->Type)->Type, not just Type->Type --- doc/manual.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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} \\ -- cgit v1.2.3