view tests/sequence.ur @ 1260:25ebd8c4fafb

Thunking recursive JavaScripted function ASTs, to reduce page load time dramatically
author Adam Chlipala <adamc@hcoop.net>
date Sat, 22 May 2010 14:09:06 -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>