view tests/onerror.ur @ 1406:e8bea46f8eda

Fix the two functions I just added
author Adam Chlipala <adam@chlipala.net>
date Thu, 20 Jan 2011 12:50:42 -0500
parents b4480a56cab7
children
line wrap: on
line source
fun main n =
  case n of
      0 => error <xml>Zero is bad!</xml>
    | _ => return <xml/>