annotate tests/cdataF.lac @ 242:cc193f680193

Shorthand for multi-binding exp declaration
author Adam Chlipala <adamc@hcoop.net>
date Thu, 28 Aug 2008 14:05:47 -0400
parents b1cfe49ce692
children
rev   line source
adamc@135 1 val snippet = fn s => <body>
adamc@135 2 <h1>{cdata s}</h1>
adamc@135 3 </body>
adamc@135 4
adamc@135 5 val main = fn () => <html><body>
adamc@135 6 {snippet "<Hi."}
adamc@135 7 {snippet "Bye."}
adamc@135 8 </body></html>