summaryrefslogtreecommitdiff
path: root/tests/reactive4.ur
blob: b5278a63e01c0acaa219c9bca8da59d97f988c2c (plain)
1
2
3
4
5
6
7
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>