view tests/sequence.ur @ 1148:a48966743c37

AM_INIT_AUTOMAKE with no-define (to fix some NetBSD and OS X problems)
author Adam Chlipala <adamc@hcoop.net>
date Sat, 06 Feb 2010 13:27:05 -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>