view tests/sequence.ur @ 1780:85a87f155e7b

Flush elaboration cache when switching between .urp files
author Adam Chlipala <adam@chlipala.net>
date Sat, 23 Jun 2012 10:11:33 -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>