diff options
author | Adam Chlipala <adam@chlipala.net> | 2012-09-03 09:51:23 -0400 |
---|---|---|
committer | Adam Chlipala <adam@chlipala.net> | 2012-09-03 09:51:23 -0400 |
commit | 81e1fd6e36aec4af5749ac06004a55ad4c9b6bc6 (patch) | |
tree | 85a2cbd3b16055c6d3cbf7745d4253afd4450389 /doc | |
parent | 0af125f3fc9cdf2a9c320ae5f0778dd4e3671261 (diff) |
Update tutorial for Ur/Web changes
Diffstat (limited to 'doc')
-rw-r--r-- | doc/intro.ur | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/intro.ur b/doc/intro.ur index e3611567..770b7b06 100644 --- a/doc/intro.ur +++ b/doc/intro.ur @@ -385,7 +385,7 @@ signature DOUBLE = sig end structure Double : DOUBLE = struct - class double a = a -> a + con double a = a -> a fun double [a] (f : double a) (x : a) : a = f x fun mkDouble [a] (f : a -> a) : double a = f @@ -420,7 +420,7 @@ signature OK_TYPE = sig end structure OkType : OK_TYPE = struct - class ok a = unit + con ok a = unit fun importantOperation [a] (_ : ok a) (_ : a) = "You found an OK value!" val ok_int = () val ok_float = () |