summaryrefslogtreecommitdiff
path: root/tests/optionM.ur
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adam@chlipala.net>2011-08-19 15:23:01 -0400
committerGravatar Adam Chlipala <adam@chlipala.net>2011-08-19 15:23:01 -0400
commit0156bf0da091dd2a773c08c2917c121bc86643bb (patch)
tree49a42ce8909e7f3df3a9fe122d4da57b21f67108 /tests/optionM.ur
parent2babe3938c1d97e46be24e033d9cb575f746d80b (diff)
Basis.mkMonad
Diffstat (limited to 'tests/optionM.ur')
-rw-r--r--tests/optionM.ur3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/optionM.ur b/tests/optionM.ur
new file mode 100644
index 00000000..4af6a46c
--- /dev/null
+++ b/tests/optionM.ur
@@ -0,0 +1,3 @@
+fun main () : transaction page = return <xml>{[x <- Some 1;
+ y <- Some 2;
+ return (x + y)]}</xml>