view tests/sequence.ur @ 1996:582ea3a4d622

Update manual inaccuracies about client-side functions
author Adam Chlipala <adam@chlipala.net>
date Sun, 13 Apr 2014 21:36:44 -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>