Mercurial > urweb
view tests/select.ur @ 2190:22117edf8fd3
After a tricky debugging session, limit visibility of type-class instances from anonymous modules
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Sun, 01 Nov 2015 16:33:14 -0500 |
parents | fe018cbdd41e |
children |
line wrap: on
line source
val handler = fn x => <xml><body> You entered: {cdata x.A} </body></xml> val main = fn () => <xml><body> <form> <select{#A}> <option value="A">A</option> <option value="B">B</option> </select> <submit action={handler}/> </form> </body></xml>