view tests/cdataF.ur @ 318:60907c06b4c4

Optimization removes linear let-bindings of impure expressions
author Adam Chlipala <adamc@hcoop.net>
date Thu, 11 Sep 2008 11:30:39 -0400
parents 71bafe66dbe1
children
line wrap: on
line source
val snippet = fn s => <body>
        <h1>{cdata s}</h1>
</body>

val main = fn () => <html><body>
        {snippet "<Hi."}
        {snippet "Bye."}
</body></html>