Many school courses use ML/OCaml as well in their classes and as you do the course they explain why OCaml/ML is best suited for what's going on https://www.cs.cmu.edu/~fp/courses/15411-f13/schedule.html