view tests/csdebug.ur @ 2051:fbfce6f37384

New release
author Adam Chlipala <adam@chlipala.net>
date Thu, 07 Aug 2014 09:17:52 -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>