view tests/sequence.ur @ 824:be0988e46336

Use a timeout to avoid errors after unload
author Adam Chlipala <adamc@hcoop.net>
date Thu, 28 May 2009 11:45:45 -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>