view tests/onerrorJs.ur @ 2041:ec7a1fa5e88f

Another MonoReduce fix
author Adam Chlipala <adam@chlipala.net>
date Sat, 26 Jul 2014 09:26:11 -0400
parents 27e731a65934
children
line wrap: on
line source
fun main n =
  case n of
      0 => error <xml>Zero is bad! <button value="Capische?" onclick={alert "GOOD!"}/></xml>
    | _ => return <xml/>