The trouble with Ocaml is that you will probably get something like:
$ ocaml o.ml
File "o.ml", line 2, characters 0-13:
Error: Unbound module Graphics
And after you've googled for a while and had done:
sudo apt-get install liblablgl-ocaml-dev
The thing would install 23(!) packages. And after that you will get:
$ ocaml o.ml
Exception: Graphics.Graphic_failure "fatal I/O error".
After which, if you've been in the industry for a decade or two, you will probably decide that you'd better stop wasting your time on that particular language. Besides. It just looks ugly. Almost as ugly as perl.