diff options
Diffstat (limited to 'tests/eargs.lac')
-rw-r--r-- | tests/eargs.lac | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/eargs.lac b/tests/eargs.lac new file mode 100644 index 00000000..d4d6fdf4 --- /dev/null +++ b/tests/eargs.lac @@ -0,0 +1,5 @@ +val id1 = fn n : int => n +val id2 = fn n => id1 n + +val pair1 = fn (t1 ::: Type) (t2 ::: Type) (x1 : t1) (x2 : t2) => (x1, x2) +val pair2 = fn (t1 ::: Type) (t2 ::: Type) (x1 : t1) (x2 : t2) () => pair1 x1 x2 |