comparison tests/pass.ur @ 244:71bafe66dbe1

Laconic -> Ur
author Adam Chlipala <adamc@hcoop.net>
date Sun, 31 Aug 2008 08:32:18 -0400
parents tests/pass.lac@4334bb734187
children
comparison
equal deleted inserted replaced
243:2b9dfaffb008 244:71bafe66dbe1
1 val handler = fn r => <html><body>
2 <li> Name: {cdata r.Nam}</li>
3 <li> Password: {cdata r.Word}</li>
4 </body></html>
5
6 val main : unit -> page = fn () => <html><body>
7 <lform>
8 Name: <textbox{#Nam} /><br/>
9 Password: <password{#Word} /><br/>
10
11 <submit action={handler}/>
12 </lform>
13 </body></html>