view tests/aborter.ur @ 2193:1d6e7e3405f6

New release
author Adam Chlipala <adam@chlipala.net>
date Sun, 22 Nov 2015 10:09:16 -0500
parents b10132434adc
children
line wrap: on
line source
table t : {A : int}

fun main () : transaction page =
    () <- dml (INSERT INTO t (A) VALUES (0));
    return (error <xml>No way, Jose!</xml>)