annotate tests/onerror.ur @ 1519:ada582d07ae1

List.find
author Adam Chlipala <adam@chlipala.net>
date Sun, 24 Jul 2011 15:47:09 -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/>