Mercurial > urweb
view tests/reactive4.ur @ 1580:ec466c1e082a
Catch UnboundNamed exceptions that arise from missing signature items
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Fri, 21 Oct 2011 08:51:30 -0400 |
parents | bb8463c3b712 |
children |
line wrap: on
line source
fun main () : transaction page = x <- source <xml>TEST</xml>; return <xml><body> <dyn signal={y <- signal x; return <xml>!{y}?</xml>}/> <br/> <a onclick={set x <xml>CHANGEUP</xml>}>Oh My</a> </body></xml>