view tests/sequence.ur @ 1420:146b69c53304

Allow negative int patterns
author Adam Chlipala <adam@chlipala.net>
date Thu, 03 Feb 2011 11:12:48 -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>