view tests/sequence.ur @ 1048:38411c2cd363

Hint about disallowed attributes
author Adam Chlipala <adamc@hcoop.net>
date Wed, 25 Nov 2009 09:48:23 -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>