summaryrefslogtreecommitdiff
path: root/tests/recReal2.ur
diff options
context:
space:
mode:
Diffstat (limited to 'tests/recReal2.ur')
-rw-r--r--tests/recReal2.ur13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/recReal2.ur b/tests/recReal2.ur
new file mode 100644
index 00000000..efe24004
--- /dev/null
+++ b/tests/recReal2.ur
@@ -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>