annotate tests/sequence.ur @ 1272:56bd4a4f6e66

Some serious bug-fix work to get HTML example to compile; this includes fixing a bug with 'val' patterns in Unnest and the need for more local reduction in Especialize
author Adam Chlipala <adamc@hcoop.net>
date Thu, 03 Jun 2010 13:04: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>