Mercurial > urweb
diff tests/recReal2.ur @ 244:71bafe66dbe1
Laconic -> Ur
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Sun, 31 Aug 2008 08:32:18 -0400 |
parents | tests/recReal2.lac@5df655503288 |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/recReal2.ur Sun Aug 31 08:32:18 2008 -0400 @@ -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>