view tests/sequence.ur @ 1197:6d8e3dcb9713

New release
author Adam Chlipala <adamc@hcoop.net>
date Thu, 01 Apr 2010 17:23:17 -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>