annotate tests/sequence.ur @ 906:c270fb847dc2

Be careful in Jscomp to avoid interpreting non-boolean/reference types as booleans with ?:
author Adam Chlipala <adamc@hcoop.net>
date Tue, 11 Aug 2009 11:26:37 -0400
parents e976b187d73a
children
rev   line source
adamc@338 1 sequence seq
adamc@338 2
adamc@338 3 fun main () : transaction page =
adamc@338 4 n <- nextval seq;
adamc@338 5 return <html><body>
adamc@338 6 {txt _ n}
adamc@338 7 </body></html>