view tests/sequence.ur @ 2303:42079884e34a

Add read locks around time read in store.
author Ziv Scully <ziv@mit.edu>
date Fri, 20 Nov 2015 11:51:14 -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>