view tests/sequence.ur @ 2147:265c1aeed71b

Return to working version mode
author Adam Chlipala <adam@chlipala.net>
date Wed, 20 May 2015 12:44:28 -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>