Other than a novel syntax, what are the advantages of using OCaml over python, perl, or ruby?
2) Efficiency. Python, perl, ruby are all... slow. OCaml compiles to very efficient native code. Xavier Leroy's accomplishment is a high level language that's within 2x the speed of C.
type tree = Empty
| Leaf of int
| Node of tree * tree
What I would like to know is: could it have Python's community/libraries, or the language itself somehow prevents this blossoming from happening?