summaryrefslogtreecommitdiff
path: root/tests
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
commitf1f76981bdc16abe27a76303520d78dc9df4e460 (patch)
treee838c552a1de10027dac7369ba03f950bfd12487 /tests
parente2a639a782d2c7be434b819156fb924c7d955f12 (diff)
Extend and document 'con' syntax with arguments
Diffstat (limited to 'tests')
-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