aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCamil Staps2016-08-25 23:11:48 +0200
committerCamil Staps2016-08-25 23:11:48 +0200
commit96e8f9357510f7b21bc7d8005ff45bb7109a9ad5 (patch)
treeca4b4c49df94cf838cd175e9e05676b723b45a01
parentFix issue with trailing arguments (diff)
Added tup example
-rw-r--r--examples/tup.fusp3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/tup.fusp b/examples/tup.fusp
new file mode 100644
index 0000000..5942ac0
--- /dev/null
+++ b/examples/tup.fusp
@@ -0,0 +1,3 @@
+tup a b = (a,b);
+app f a b = f a b;
+main = app app app app tup 1 2;