Mercurial > urweb
view tests/sidecheck.ur @ 1941:9f3597979e98
Tweaking handling of database transactions
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Wed, 25 Dec 2013 13:11:43 -0500 |
parents | 154cfe2eb366 |
children |
line wrap: on
line source
fun main () : transaction page = s <- source 0; n <- get s; set s (n + 1); n' <- get s; return <xml>{[n']}</xml>