view tests/sequence.ur @ 1557:4a13e1b73641

Switch type of 'for' attribute
author Adam Chlipala <adam@chlipala.net>
date Sat, 03 Sep 2011 12:56:05 -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>