IT lexicon › Programming › OCaml

OCaml

Programming På svenska → Updated: 2026-05-23

Pragmatic functional language in the ML family — INRIA France, 1996. Static types with inference, algebraic data types, pattern matching, fast compilation to native code.

Differs from Haskell: allows side effects and mutable state without discipline (it's pragmatic). Multicore support finally landed in OCaml 5 (2022). Effects (algebraic effects) as syntax (2023) is language research that became production-ready.

Powers Jane Street (one of the largest prop-trading firms in the world), Docker (the original implementation was in OCaml), the Coq proof assistant, Tezos blockchain, Facebook's Flow/Hack type-checkers, the ReScript compiler.

← Back to the lexicon