summaryrefslogtreecommitdiff
path: root/tests/Standard.ml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Standard.ml')
-rw-r--r--tests/Standard.ml5
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]