summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2009-05-14 08:13:54 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2009-05-14 08:13:54 -0400
commitae8c16af976173ab73c63dd0ca7b9dc2183b3d6b (patch)
treecd83a1670f329d23e70b5b1017d2ead58829009c /tests
parent90d8c8cb498fd7aacd19682d2979186e76805808 (diff)
Improving/reordering Unpoly and Especialize; pathmaps
Diffstat (limited to 'tests')
-rw-r--r--tests/pathmap.ur7
-rw-r--r--tests/pathmap.urp3
2 files changed, 10 insertions, 0 deletions
diff --git a/tests/pathmap.ur b/tests/pathmap.ur
new file mode 100644
index 00000000..44699048
--- /dev/null
+++ b/tests/pathmap.ur
@@ -0,0 +1,7 @@
+val x = List.rev (List.Cons (1, List.Cons (0, List.Nil)))
+val y = List.mp (plus 2) x
+
+fun main () : transaction page = return <xml><body>
+ {[x]}<br/>
+ {[y]}
+</body></xml>
diff --git a/tests/pathmap.urp b/tests/pathmap.urp
new file mode 100644
index 00000000..1270b40c
--- /dev/null
+++ b/tests/pathmap.urp
@@ -0,0 +1,3 @@
+
+$/list
+pathmap