diff tests/link.ur @ 376:6fd102fa28f9

Simple generation of persistent paths
author Adam Chlipala <adamc@hcoop.net>
date Sun, 19 Oct 2008 11:11:49 -0400
parents 71bafe66dbe1
children
line wrap: on
line diff
--- a/tests/link.ur	Thu Oct 16 17:31:24 2008 -0400
+++ b/tests/link.ur	Sun Oct 19 11:11:49 2008 -0400
@@ -1,7 +1,7 @@
-val ancillary = fn () => <html>
+fun ancillary () = return <xml>
         Welcome to the ancillary page!
-</html>
+</xml>
 
-val main : unit -> page = fn () => <html><body>
+fun main () : transaction page = return <xml><body>
         <a link={ancillary ()}>Enter the unknown!</a>
-</body></html>
+</body></xml>