view tests/csdebug.ur @ 2041:ec7a1fa5e88f

Another MonoReduce fix
author Adam Chlipala <adam@chlipala.net>
date Sat, 26 Jul 2014 09:26:11 -0400
parents bd34a4af516a
children
line wrap: on
line source
fun main () : transaction page =
    n <- source 0;
    return <xml><body>
      <button onclick={n' <- get n; set n (n' + 1); debug ("Message: " ^ show n')}/>
    </body></xml>