view tests/reactive3.ur @ 1153:a62ac791f7fb

More is*() casts
author Adam Chlipala <adamc@hcoop.net>
date Sat, 06 Feb 2010 20:13:51 -0500
parents 0094e0242100
children
line wrap: on
line source
fun main () : transaction page =
  x <- source <xml>TEST</xml>;
  return <xml><body>
    <dyn signal={signal x}/>
    <br/>
    <a onclick={alert "Changing...."; set x <xml>CHANGEUP</xml>}>Oh My</a>
  </body></xml>