view tests/sequence.ur @ 1771:4cca386e5766

New release
author Adam Chlipala <adam@chlipala.net>
date Sat, 19 May 2012 11:46:29 -0400
parents e976b187d73a
children
line wrap: on
line source
sequence seq

fun main () : transaction page =
        n <- nextval seq;
        return <html><body>
                {txt _ n}
        </body></html>