diff options
author | Adam Chlipala <adamc@hcoop.net> | 2009-05-14 09:33:48 -0400 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2009-05-14 09:33:48 -0400 |
commit | b6163966d74b8f4636d63f28179205ed9f6daaaf (patch) | |
tree | a2cae7eab132b9d3a0e2a1761daa414b869cdf3e /tests/cselect.ur | |
parent | 9e6bd5dd1394c99f0a9b29369a4957c958e0830c (diff) |
cselect
Diffstat (limited to 'tests/cselect.ur')
-rw-r--r-- | tests/cselect.ur | 11 |
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> |