view tests/onerror.ur @ 1715:1584fd8d16dd

Simplify types for printing with '-dumpTypes'
author Adam Chlipala <adam@chlipala.net>
date Mon, 16 Apr 2012 09:53:48 -0400
parents b4480a56cab7
children
line wrap: on
line source
fun main n =
  case n of
      0 => error <xml>Zero is bad!</xml>
    | _ => return <xml/>