aboutsummaryrefslogtreecommitdiffstats
path: root/stubdom/caml/hello.ml
diff options
context:
space:
mode:
Diffstat (limited to 'stubdom/caml/hello.ml')
-rw-r--r--stubdom/caml/hello.ml4
1 files changed, 4 insertions, 0 deletions
diff --git a/stubdom/caml/hello.ml b/stubdom/caml/hello.ml
new file mode 100644
index 0000000000..3a7181134a
--- /dev/null
+++ b/stubdom/caml/hello.ml
@@ -0,0 +1,4 @@
+let main arg =
+ Printf.printf "Hello, world!\n%!."
+
+let _ = Callback.register "main" main