ocaml@4
« Back to VersTracker
Description:
General purpose programming language in the ML family
Type: Formula  |  Latest Version: 4.14.2@0  |  Tracked Since: Oct 15, 2025
Links: Homepage  |  @ocamlorg  |  formulae.brew.sh
Category: Developer tools
Tags: ocaml compiler ml functional-programming programming-language
Install: brew install ocaml@4
About:
OCaml is a functional, imperative, and polymorphic statically typed language with automatic memory management. It features a powerful type system with type inference, pattern matching, and a robust module system. This formula provides the latest stable release of the OCaml 4.x series, suitable for building reliable and efficient software.
Key Features:
  • Strong static type system with type inference
  • Pattern matching and algebraic data types
  • Powerful module system for large-scale software
  • Native code compiler for high performance
  • Automatic memory management (garbage collection)
Use Cases:
  • Building compilers and interpreters
  • Financial modeling and quantitative analysis
  • Developing systems software and libraries
  • Academic research and computer science education
Alternatives:
  • ocaml – Installs the latest OCaml 5.x version with multicore support
  • rust – Systems language with similar safety guarantees but different paradigm
  • haskell – Purely functional language with similar type system features
Version History
Detected Version Rev Change Commit
Oct 15, 2025 5:03pm 0 VERSION_BUMP dc80f0fb