annotate tests/onerror.ur @ 1878:df6a040f5389

Make transactional FFI functions effectful by default
author Adam Chlipala <adam@chlipala.net>
date Thu, 10 Oct 2013 18:01:30 -0400
parents b4480a56cab7
children
rev   line source
adam@1294 1 fun main n =
adam@1294 2 case n of
adam@1294 3 0 => error <xml>Zero is bad!</xml>
adam@1294 4 | _ => return <xml/>