summaryrefslogtreecommitdiff
path: root/tests/Apply.ml
diff options
context:
space:
mode:
authorGrégoire Duchêne <gduchene@awhk.org>2014-09-28 21:46:13 +0200
committerGrégoire Duchêne <gduchene@awhk.org>2014-09-28 23:03:16 +0200
commit187dcd089f8a86e8d8e769769496f791d69ec09d (patch)
tree072837702a85236fbe85e88452fcf6390b2a2c82 /tests/Apply.ml
parent19ee8bf4e7226117c47edfba623db61720a07338 (diff)
Added the first tests
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