view tests/sequence.ur @ 1963:fec7beec96c7

Make that purity analysis a bit more lax again
author Adam Chlipala <adam@chlipala.net>
date Sun, 19 Jan 2014 14:31:55 -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>