Health

Risk
risk 0 ok
Version
5.5.2 the newest release repology knowsrepology ↗nixkeeper ↗
Update bot
failed 3w ago · not in the queue · logs
Channels
master 5.5.2 · nixos-unstable 5.5.2 · nixos-26.11 5.5.2 no channel is behind master
Advisories
none open
Packaging
meta complete
Description
OCaml is an industrial-strength programming language supporting functional, imperative and object-oriented styles
Long description
OCaml is a general purpose programming language with an emphasis on expressiveness and safety. Developed for more than 20 years at Inria by a group of leading researchers, it has an advanced type system that helps catch your mistakes without getting in your way. It's used in environments where a single mistake can cost millions and speed matters, is supported by an active community, and has a rich set of libraries and development tools. It's widely used in teaching for its power and simplicity. Strengths: * A powerful type system, equipped with parametric polymorphism and type inference. For instance, the type of a collection can be parameterized by the type of its elements. This allows defining some operations over a collection independently of the type of its elements: sorting an array is one example. Furthermore, type inference allows defining such operations without having to explicitly provide the type of their parameters and result. * User-definable algebraic data types and pattern-matching. New algebraic data types can be defined as combinations of records and sums. Functions that operate over such data structures can then be defined by pattern matching, a generalized form of the well-known switch statement, which offers a clean and elegant way of simultaneously examining and naming data. * Automatic memory management, thanks to a fast, unobtrusive, incremental garbage collector. * Separate compilation of standalone applications. Portable bytecode compilers allow creating stand-alone applications out of Caml Light or OCaml programs. A foreign function interface allows OCaml code to interoperate with C code when necessary. Interactive use of OCaml is also supported via a “read-evaluate-print” loop. In addition, OCaml features: * A sophisticated module system, which allows organizing modules hierarchically and parameterizing a module over a number of other modules. * An expressive object-oriented layer, featuring multiple inheritance, parametric and virtual c
License
Platforms
25 platforms: Linux, Darwin
Source provenance
not set: built from source
Outputs
out
Status
not broken, not insecure, free
Maintainers

Version bumps 0

all open bumps
None open.

Pull requests 3

treewide: remove unused let in definitions treewide · 142 packages and 52 modules
#478796 by jopejoe1 · opened 10mo ago · checks pass
lib.systems: deprecate `==` comparison between elaborated platforms treewide · 431 packages and 8 modules
#380005 by MattSturgeon · opened 22mo ago
treewide: enable security hardening flags draft treewide · 103 packages and 2 modules
#104091 by TredwellGit · opened 6y ago
Closed or merged in the last 60 days 4
ocaml: 4.14.4 → 4.14.5
#585570 by vbgl · merged 2w ago
ocaml: 5.5.1 → 5.5.2
#579153 by vbgl · merged 4w ago
staging-next 2026-10-29 treewide · 2,548 packages and 9 modules
#580394 by vcunat · merged 3w ago
treewide: remove obsolete x86_64-darwin code treewide · 308 packages and 1 module
#572291 by booxter · merged 5w ago

Issues 0

None open.