comparison tests/onerror.ur @ 1294:b4480a56cab7

Server-side 'onError'
author Adam Chlipala <adam@chlipala.net>
date Tue, 07 Sep 2010 08:28:07 -0400
parents
children
comparison
equal deleted inserted replaced
1293:acabf3935060 1294:b4480a56cab7
1 fun main n =
2 case n of
3 0 => error <xml>Zero is bad!</xml>
4 | _ => return <xml/>