view tests/sequence.ur @ 1548:76dab73304a5

Document monadic shorthands
author Adam Chlipala <adam@chlipala.net>
date Wed, 24 Aug 2011 08:18:09 -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>