view tests/onerror.ur @ 1985:5195378deeca

Merge in upstream
author Patrick Hurst <phurst@mit.edu>
date Sat, 15 Feb 2014 01:04:31 -0500
parents b4480a56cab7
children
line wrap: on
line source
fun main n =
  case n of
      0 => error <xml>Zero is bad!</xml>
    | _ => return <xml/>