diff tests/recReal3.lac @ 131:5df655503288

Untangle
author Adam Chlipala <adamc@hcoop.net>
date Thu, 17 Jul 2008 12:19:44 -0400
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/recReal3.lac	Thu Jul 17 12:19:44 2008 -0400
@@ -0,0 +1,18 @@
+val rec endlessList1 = fn () => <body>
+        <li> Buy eggs.</li>
+        {endlessList2 ()}
+</body>
+
+and endlessList2 = fn () => <body>
+        <li> Buy milk.</li>
+        {endlessList1 ()}
+        {endlessList3 ()}
+</body>
+
+and endlessList3 = fn () => <body>
+        <li> Buy goat.</li>
+</body>
+
+val main = fn () => <html><body>
+        {endlessList1 ()}
+</body></html>