view tests/sequence.ur @ 2059:44428bbda65c

New release
author Adam Chlipala <adam@chlipala.net>
date Tue, 19 Aug 2014 11:08:25 -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>