view tests/recReal3.lac @ 169:2232ab355f66

Took more advantage of new ability to exit with an error message
author Adam Chlipala <adamc@hcoop.net>
date Tue, 29 Jul 2008 16:02:02 -0400
parents 5df655503288
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 ()}
        {endlessList3 ()}
</body>

and endlessList3 = fn () => <body>
        <li> Buy goat.</li>
</body>

val main = fn () => <html><body>
        {endlessList1 ()}
</body></html>