view tests/cdataF.ur @ 1260:25ebd8c4fafb

Thunking recursive JavaScripted function ASTs, to reduce page load time dramatically
author Adam Chlipala <adamc@hcoop.net>
date Sat, 22 May 2010 14:09:06 -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>