Mercurial > urweb
view tests/transact.ur @ 1722:f7d9dc5d57eb
Antiquote for PRIMARY KEY
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Sat, 21 Apr 2012 15:47:02 -0400 |
parents | 1cc67fdac4d3 |
children |
line wrap: on
line source
fun listHell n = if n <= 0 then [] else n :: List.append (listHell (n-1)) (listHell (n-1)) fun doit r = Transactional.foo; return <xml>{[listHell (readError r.N)]}</xml> fun main () = return <xml><body> <form> <textbox{#N}/> <submit action={doit}/> </form> </body></xml>