comparison tests/checkbox.ur @ 244:71bafe66dbe1

Laconic -> Ur
author Adam Chlipala <adamc@hcoop.net>
date Sun, 31 Aug 2008 08:32:18 -0400
parents tests/checkbox.lac@3eb53c957d10
children
comparison
equal deleted inserted replaced
243:2b9dfaffb008 244:71bafe66dbe1
1 val handler = fn x => <html><body>
2 {if x.A then cdata "Yes" else cdata "No"}
3 </body></html>
4
5 val main = fn () => <html><body>
6 <lform>
7 <checkbox{#A}/> How about it?<br/>
8 <submit action={handler}/>
9 </lform>
10 </body></html>