summaryrefslogtreecommitdiff
path: root/tests/recReal2.lac
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2008-07-17 12:19:44 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2008-07-17 12:19:44 -0400
commit1527e77c3c2c99fbb9fb832250a6cc00c06d70b0 (patch)
treefd4a0b102dcd522d169c716f72d4f16971ddeada /tests/recReal2.lac
parentd5fd0e7403767670197f0422c99ba62176323624 (diff)
Untangle
Diffstat (limited to 'tests/recReal2.lac')
-rw-r--r--tests/recReal2.lac13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/recReal2.lac b/tests/recReal2.lac
new file mode 100644
index 00000000..efe24004
--- /dev/null
+++ b/tests/recReal2.lac
@@ -0,0 +1,13 @@
+val rec endlessList1 = fn () => <body>
+ <li> Buy eggs.</li>
+ {endlessList2 ()}
+</body>
+
+and endlessList2 = fn () => <body>
+ <li> Buy milk.</li>
+ {endlessList1 ()}
+</body>
+
+val main = fn () => <html><body>
+ {endlessList1 ()}
+</body></html>