summaryrefslogtreecommitdiff
path: root/tests/channel.ur
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2009-03-22 15:05:07 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2009-03-22 15:05:07 -0400
commit2627ab6f5cfd96df06016a88b7e5a245e3ab9d8f (patch)
tree5a3c064007e7481a452bc60d9dfaeabebb515a53 /tests/channel.ur
parent9e730b9a1aa4db311088a355e7e8601c6a998467 (diff)
First message send delivered, but not interpreted
Diffstat (limited to 'tests/channel.ur')
-rw-r--r--tests/channel.ur11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/channel.ur b/tests/channel.ur
new file mode 100644
index 00000000..2ea89e87
--- /dev/null
+++ b/tests/channel.ur
@@ -0,0 +1,11 @@
+fun main () : transaction page =
+ ch <- channel;
+ let
+ fun onload () =
+ subscribe ch;
+ send ch "Hello world!"
+ in
+ return <xml><body onload={onload ()}>
+
+ </body></xml>
+ end