view tests/sequence.ur @ 1669:61421ab6be36

New release
author Adam Chlipala <adam@chlipala.net>
date Tue, 10 Jan 2012 09:34:15 -0500
parents e976b187d73a
children
line wrap: on
line source
sequence seq

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