diff tests/rec3.lac @ 134:18299126a343

MonoShake
author Adam Chlipala <adamc@hcoop.net>
date Thu, 17 Jul 2008 13:12:16 -0400
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/rec3.lac	Thu Jul 17 13:12:16 2008 -0400
@@ -0,0 +1,13 @@
+val rec main = fn () => <html><body>
+        <a link={aux ()}>See another page</a>
+</body></html>
+
+and aux = fn () => <html><body>
+        <h1>The Main Event</h1>
+
+        {auxer ()}
+</body></html>
+
+and auxer = fn () => <body>
+        <a link={main ()}>Back to square one</a>
+</body>