view tests/sequence.ur @ 1417:d0786ff9bb22

Fix detection of POSTs to error pages
author Adam Chlipala <adam@chlipala.net>
date Sun, 23 Jan 2011 17:27:51 -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>