view tests/recReal2.ur @ 696:79a49c509007

Avoid generating empty <script> blocks
author Adam Chlipala <adamc@hcoop.net>
date Sun, 05 Apr 2009 09:26:00 -0400
parents 71bafe66dbe1
children
line wrap: on
line source
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>