annotate tests/aborter.ur @ 1327:1cc67fdac4d3

New argument to transactional free functions, to specify whether we are about to retry
author Adam Chlipala <adam@chlipala.net>
date Sat, 04 Dec 2010 11:15:20 -0500
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>)