aboutsummaryrefslogtreecommitdiff
path: root/tests/Apply.ml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Apply.ml')
-rw-r--r--tests/Apply.ml8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/Apply.ml b/tests/Apply.ml
new file mode 100644
index 0000000..1cbd3e6
--- /dev/null
+++ b/tests/Apply.ml
@@ -0,0 +1,8 @@
+let f x = x + 1
+let x = f 1
+let y = f (f (f 1))
+
+let g x y z = x + y + z
+let h x y = g x y 5
+
+let z = h 1 2