summaryrefslogtreecommitdiff
path: root/tests
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
parent2babe3938c1d97e46be24e033d9cb575f746d80b (diff)
Basis.mkMonad
Diffstat (limited to 'tests')
-rw-r--r--tests/optionM.ur3
-rw-r--r--tests/optionM.urp2
2 files changed, 5 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>
diff --git a/tests/optionM.urp b/tests/optionM.urp
new file mode 100644
index 00000000..b043dfe0
--- /dev/null
+++ b/tests/optionM.urp
@@ -0,0 +1,2 @@
+$/option
+optionM