Mercurial > urweb
view tests/csdebug.ur @ 1795:d28adceef22a
Allow type class instances with hypotheses via local ('let') definitions
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Wed, 25 Jul 2012 14:04:59 -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>