annotate tests/recReal2.ur @ 564:803b2f3bb86b

Monad type class seems to be working
author Adam Chlipala <adamc@hcoop.net>
date Fri, 19 Dec 2008 10:27:58 -0500
parents 71bafe66dbe1
children
rev   line source
adamc@131 1 val rec endlessList1 = fn () => <body>
adamc@131 2 <li> Buy eggs.</li>
adamc@131 3 {endlessList2 ()}
adamc@131 4 </body>
adamc@131 5
adamc@131 6 and endlessList2 = fn () => <body>
adamc@131 7 <li> Buy milk.</li>
adamc@131 8 {endlessList1 ()}
adamc@131 9 </body>
adamc@131 10
adamc@131 11 val main = fn () => <html><body>
adamc@131 12 {endlessList1 ()}
adamc@131 13 </body></html>