Mercurial > urweb
view tests/select.lac @ 175:b2d752455182
Elaborating record patterns
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Thu, 31 Jul 2008 13:08:57 -0400 |
parents | e2b185379592 |
children |
line wrap: on
line source
val handler = fn x => <html><body> You entered: {cdata x.A} </body></html> val main = fn () => <html><body> <lform> <lselect{#A}> <loption value="A">A</loption> <loption value="B">B</loption> </lselect> <submit action={handler}/> </lform> </body></html>