view tests/sequence.ur @ 861:bd153951c794

Fix env-reading bug in fastcgi; a bunch of non-AJAXy demos working
author Adam Chlipala <adamc@hcoop.net>
date Sat, 27 Jun 2009 15:36:56 -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>