What is OCAML language used for?
OCaml language
is a general programming language that has object oriented features.
Prerequisite
To learn OCaml programming, You need to have any basic programming experience.
OCaml File extension
OCaml code is placed in a file with extension .ml
OCAML Features
-
It is functional language Everything is termed as an function.Function can be used in following cases - Assigned to an variable - Passed as an argument to other functions - Other functions return function as like a variable
-
Statically Typed Language
-
Type Inference
-
Imperative programming language