view tests/sequence.ur @ 1340:caff0a4d5fc1

Allow use of path variables in strings with no slashes
author Adam Chlipala <adam@chlipala.net>
date Tue, 14 Dec 2010 10:59:17 -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>