diff options
| author | Grégoire Duchêne <gduchene@awhk.org> | 2014-09-28 21:46:13 +0200 |
|---|---|---|
| committer | Grégoire Duchêne <gduchene@awhk.org> | 2014-09-28 23:03:16 +0200 |
| commit | 187dcd089f8a86e8d8e769769496f791d69ec09d (patch) | |
| tree | 072837702a85236fbe85e88452fcf6390b2a2c82 /tests/Standard.ml | |
| parent | 19ee8bf4e7226117c47edfba623db61720a07338 (diff) | |
Added the first tests
Diffstat (limited to 'tests/Standard.ml')
| -rw-r--r-- | tests/Standard.ml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/Standard.ml b/tests/Standard.ml new file mode 100644 index 0000000..e13b98c --- /dev/null +++ b/tests/Standard.ml @@ -0,0 +1,5 @@ +let ( $ ) f x = f x + +let () = print_endline "Hello world!" +let () = print_int $ List.length [1; 2; 3] |> print_newline +let () = Printf.printf "The length of [1; 2; 3] is %d\n" $ List.length [1; 2; 3] |
