view tests/onerror.ur @ 2052:15ecf697542b

Return to working version mode
author Adam Chlipala <adam@chlipala.net>
date Thu, 07 Aug 2014 09:28:41 -0400
parents b4480a56cab7
children
line wrap: on
line source
fun main n =
  case n of
      0 => error <xml>Zero is bad!</xml>
    | _ => return <xml/>