Mercurial > urweb
annotate tests/sqlprecision.ur @ 1989:210fb3dfc483
Some more nested functor bug-fixing, including generating fresh internal names at applications; still need to debug issues with datatype constructors
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Thu, 20 Feb 2014 10:27:15 -0500 |
parents | 2f33d9a51765 |
children |
rev | line source |
---|---|
adam@1920 | 1 table t : { N : float } |
adam@1920 | 2 |
adam@1920 | 3 fun insert r = |
adam@1920 | 4 dml (INSERT INTO t (N) VALUES ({[readError r.N]})); |
adam@1920 | 5 return <xml/> |
adam@1920 | 6 |
adam@1920 | 7 fun main () = return <xml><body> |
adam@1920 | 8 <form> |
adam@1920 | 9 <textbox{#N}/> |
adam@1920 | 10 <submit action={insert}/> |
adam@1920 | 11 </form> |
adam@1920 | 12 </body></xml> |