view tests/recReal3.ur @ 2248:e09c3dc102ef

Rewrite effectfulness analysis using MonoUtil.
author Ziv Scully <ziv@mit.edu>
date Sat, 15 Aug 2015 23:08:37 -0700
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 ()}
        {endlessList3 ()}
</body>

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

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