summaryrefslogtreecommitdiff
path: root/tests/conargs.ur
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adam@chlipala.net>2011-10-15 10:05:13 -0400
committerGravatar Adam Chlipala <adam@chlipala.net>2011-10-15 10:05:13 -0400
commit40047b604b23d8342f9f3d499bacff2d78b88749 (patch)
treee838c552a1de10027dac7369ba03f950bfd12487 /tests/conargs.ur
parent1b99970168c819038eff86dfc52c5ae0dff2e4c1 (diff)
Extend and document 'con' syntax with arguments
Diffstat (limited to 'tests/conargs.ur')
-rw-r--r--tests/conargs.ur9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/conargs.ur b/tests/conargs.ur
new file mode 100644
index 00000000..310e1246
--- /dev/null
+++ b/tests/conargs.ur
@@ -0,0 +1,9 @@
+con func a b = a -> b
+
+signature S = sig
+ con funcy a b = a -> b
+end
+
+structure M : S = struct
+ con funcy = func
+end