view tests/reactive3.ur @ 1640:dc986eb6113c

Order constructors properly in wildification, to avoid spuriously displeasing the new scoping check
author Adam Chlipala <adam@chlipala.net>
date Sun, 18 Dec 2011 12:00:36 -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>