annotate tests/onerror.ur @ 1991:7db8356caef5

Tweaked parameter renaming for functors, so now demos and the original bug-triggering application work
author Adam Chlipala <adam@chlipala.net>
date Thu, 20 Feb 2014 15:50:33 -0500
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/>