annotate tests/aborter.ur @ 649:96ebc6bdb5a0

Batch example
author Adam Chlipala <adamc@hcoop.net>
date Tue, 10 Mar 2009 15:17:23 -0400
parents b10132434adc
children
rev   line source
adamc@424 1 table t : {A : int}
adamc@424 2
adamc@424 3 fun main () : transaction page =
adamc@424 4 () <- dml (INSERT INTO t (A) VALUES (0));
adamc@424 5 return (error <xml>No way, Jose!</xml>)