Mercurial > urweb
view tests/recReal3.ur @ 2126:ec1614fb97bb
Change MonoReduce to do fixed-pointing, since it sometimes enables more optimizations for itself (e.g., yanking lambdas out of [case]s)
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Fri, 06 Mar 2015 09:46:21 -0500 |
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>