summaryrefslogtreecommitdiff
path: root/tests/recReal3.ur
blob: 0ebc489ab32dfb583a7116369af2e18eed4f143b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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>