Blog

The OCaml Planet RSS

Articles and videos contributed by both experts, companies and passionate developers from the OCaml community. From in-depth technical articles, project highlights, community news, or insights into Open Source projects, the OCaml Planet RSS feed aggregator has something for everyone.

Want your Blog Posts or Videos to Show Here?

To contribute a blog post, or add your RSS feed, check out the Contributing Guide on GitHub.

Emulating inheritance without classes

The O in OCaml is for its object-oriented extension, but I needed a way to emulate the constraints of inheritance without it. This raised some interesting design questions about how to do it using only the core ML language.

13 May 2026

Chris Armstrong

Read Article
Odd opam update behaviour

A few days after retiring opam 2.0 from the build pipeline, ocaml-ci Jon noticed that some jobs were failing. I immediately concluded that the removal was to blame, but it wasn’t.

12 May 2026

Marc Elvers

Read Article
What is Functional Programming? A Look at the Programming Style from an OCaml Perspective

Get a comprehensive overview of the definitions, benefits, trade-offs, and use cases of functional programming.

12 May 2026

Tarides

Read Article
.plan-26-19: Ancient oaks, parliamentary evidence, and TESSERA in the City

Celebrating David Attenborough's 100th birthday at a Conservation Research Institute retreat in Norwich, a Parliament POST briefing on Evidence for Nature Recovery lands, and a TESSERA talk at the Cambridge Ring alumni evening at Jane Street.

10 May 2026

Anil Madhavapeddy's Blog

Read Article
A review about ptt

08 May 2026

Robur Cooperative

Read Article
Machine Learning in OxCaml

The inspiration for this post came from Dave’s Garage YouTube Channel. It featured dbrll/ATTN-11, which used machine learning on a PDP-11 to reverse a sequence of numbers. I’m not (quite) old enough to remember the PDP-11, but the idea of a minimal machine learning example was intriguing, particularly as an aid to understanding.

07 May 2026

Marc Elvers

Read Article
Retiring opam 2.0 from the build pipeline

ocurrent/docker-base-images publishes the ocaml/opam:* Docker images which the OCaml CI systems use. For each distro, it tracks 2.0, 2.1, 2.2, 2.3, 2.4, 2.5, and master opam release branches in parallel and produces both an opam-version-suffixed tag (e.g. debian-13-ocaml-5.4_opam-2.5) and an un-suffixed default that points at the oldest tracked version.

07 May 2026

Marc Elvers

Read Article
Weird Windows container version numbers

Running ver in a Windows container doesn’t report the version number that you expect.

05 May 2026

Marc Elvers

Read Article