Mercurial > urweb
view tests/sequence.ur @ 1782:61c7eb1d3867
Support fancy expressions in module-level 'val' declarations
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Wed, 18 Jul 2012 17:29:13 -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>