diff options
author | Adam Chlipala <adamc@hcoop.net> | 2010-01-12 10:33:03 -0500 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2010-01-12 10:33:03 -0500 |
commit | d098fe4f553b05d3dc5c670f41ade66d64eb5853 (patch) | |
tree | 58441754054742bc8de615c687ffed7e67b3e827 /tests | |
parent | b74c95a71e3c08501aa56b347e6d04f9b8183a4e (diff) |
Supporting any number of arguments for explicitly exported functions
Diffstat (limited to 'tests')
-rw-r--r-- | tests/twoArg.ur | 3 | ||||
-rw-r--r-- | tests/twoArg.urp | 3 | ||||
-rw-r--r-- | tests/twoArg.urs | 3 |
3 files changed, 9 insertions, 0 deletions
diff --git a/tests/twoArg.ur b/tests/twoArg.ur new file mode 100644 index 00000000..bc2c81d2 --- /dev/null +++ b/tests/twoArg.ur @@ -0,0 +1,3 @@ +fun main n s = return <xml>{[n]}, {[s]}</xml> + +val shadow = return <xml>You found me!</xml> diff --git a/tests/twoArg.urp b/tests/twoArg.urp new file mode 100644 index 00000000..88fb254f --- /dev/null +++ b/tests/twoArg.urp @@ -0,0 +1,3 @@ +debug + +twoArg diff --git a/tests/twoArg.urs b/tests/twoArg.urs new file mode 100644 index 00000000..9eb22bec --- /dev/null +++ b/tests/twoArg.urs @@ -0,0 +1,3 @@ +val main : int -> string -> transaction page + +val shadow : transaction page |