annotate tests/pass.lac @ 182:d11754ffe252

Compiled pattern matching to C
author Adam Chlipala <adamc@hcoop.net>
date Sun, 03 Aug 2008 12:43:20 -0400
parents 4334bb734187
children
rev   line source
adamc@155 1 val handler = fn r => <html><body>
adamc@155 2 <li> Name: {cdata r.Nam}</li>
adamc@155 3 <li> Password: {cdata r.Word}</li>
adamc@155 4 </body></html>
adamc@155 5
adamc@155 6 val main : unit -> page = fn () => <html><body>
adamc@155 7 <lform>
adamc@155 8 Name: <textbox{#Nam} /><br/>
adamc@155 9 Password: <password{#Word} /><br/>
adamc@155 10
adamc@155 11 <submit action={handler}/>
adamc@155 12 </lform>
adamc@155 13 </body></html>