diff tests/reactive2.ur @ 577:3d56940120b1

Setting a source server-side
author Adam Chlipala <adamc@hcoop.net>
date Tue, 30 Dec 2008 10:49:42 -0500
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/reactive2.ur	Tue Dec 30 10:49:42 2008 -0500
@@ -0,0 +1,6 @@
+fun main () : transaction page =
+  x <- source <xml>TEST</xml>;
+  set x <xml>HI</xml>;
+  return <xml><body>
+    <dyn signal={signal x}/>
+  </body></xml>