summaryrefslogtreecommitdiff
path: root/tests
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
commitf60bcb83cf4d8e0a6176a1dca6e557c49e9f9375 (patch)
treedd7fc482cb82508fbe29061a6588e452dcc5c8a7 /tests
parentd5c3faacb1c3114fe6802973a62528cda8be8ac7 (diff)
Trivial use of a source
Diffstat (limited to 'tests')
-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>