view tests/sidecheck.ur @ 1939:c52365a4ce41

No need to ROLLBACK after a failed COMMIT
author Adam Chlipala <adam@chlipala.net>
date Wed, 25 Dec 2013 11:43:41 -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>