From 187dcd089f8a86e8d8e769769496f791d69ec09d Mon Sep 17 00:00:00 2001 From: GrĂ©goire DuchĂȘne Date: Sun, 28 Sep 2014 21:46:13 +0200 Subject: Added the first tests --- tests/Apply.ml | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 tests/Apply.ml (limited to 'tests/Apply.ml') 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 -- cgit v1.2.3-70-g09d2