Mercurial > urweb
view tests/csdebug.ur @ 1850:30c56e3bcf47
Plugging some gaps in the manual
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Sun, 21 Apr 2013 10:17:43 -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>