summaryrefslogtreecommitdiff
path: root/tests/cselect.ur
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2009-05-14 09:33:48 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2009-05-14 09:33:48 -0400
commit29f71e629bfe700a4bfcc7d2018bdab305d6fc3e (patch)
treea2cae7eab132b9d3a0e2a1761daa414b869cdf3e /tests/cselect.ur
parentf2fff6993d2b138c2efc5cadaa53ecbdb1c2e1b3 (diff)
cselect
Diffstat (limited to 'tests/cselect.ur')
-rw-r--r--tests/cselect.ur11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/cselect.ur b/tests/cselect.ur
new file mode 100644
index 00000000..ca05f504
--- /dev/null
+++ b/tests/cselect.ur
@@ -0,0 +1,11 @@
+fun main () =
+ s <- source "";
+ return <xml><body>
+ <cselect source={s}>
+ <coption>Wilbur</coption>
+ <coption>Walbur</coption>
+ </cselect>
+
+ Hello, I'm <dyn signal={s <- signal s; return <xml>{[s]}</xml>}/>.
+ I'll be your waiter for this evening.
+ </body></xml>