summaryrefslogtreecommitdiff
path: root/tests/reactive.ur
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2008-12-21 12:56:39 -0500
committerGravatar Adam Chlipala <adamc@hcoop.net>2008-12-21 12:56:39 -0500
commit919a4e4a448d4b0850faef7ddfde05c2f42b796b (patch)
treedd7fc482cb82508fbe29061a6588e452dcc5c8a7 /tests/reactive.ur
parentc2da8978286838c438aa471631155c4d6d8f760e (diff)
Trivial use of a source
Diffstat (limited to 'tests/reactive.ur')
-rw-r--r--tests/reactive.ur7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/reactive.ur b/tests/reactive.ur
index cb49541f..95839c7d 100644
--- a/tests/reactive.ur
+++ b/tests/reactive.ur
@@ -1,4 +1,5 @@
fun main () : transaction page =
- x <- source ();
- y <- source ();
- return <xml><body>Hi!</body></xml>
+ x <- source <xml>TEST</xml>;
+ return <xml><body>
+ <dyn signal={signal x}/>
+ </body></xml>