Mercurial > urweb
view tests/cdataF.ur @ 506:65d8541c130b
Fusing writes with recursive function calls
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Tue, 25 Nov 2008 10:05:44 -0500 |
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>