annotate tests/sidecheck.ur @ 2185:cbd294994c69

Monad.mapR3
author Adam Chlipala <adam@chlipala.net>
date Sat, 31 Oct 2015 11:49:30 -0400
parents 154cfe2eb366
children
rev   line source
adam@1595 1 fun main () : transaction page =
adam@1595 2 s <- source 0;
adam@1595 3 n <- get s;
adam@1595 4 set s (n + 1);
adam@1595 5 n' <- get s;
adam@1595 6 return <xml>{[n']}</xml>