Mercurial > urweb
view tests/cdataF.lac @ 147:eb16f2aadbe9
Meta-programming forms
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Tue, 22 Jul 2008 18:46:04 -0400 |
parents | b1cfe49ce692 |
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>