view tests/csdebug.ur @ 1654:570636457047

Add arguments to [type] declarations and signature items
author Adam Chlipala <adam@chlipala.net>
date Mon, 02 Jan 2012 15:38:52 -0500
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>