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.

Using `day10` to build an OxCaml project

Today, looking at my OxCaml inference engine, I wanted to see whether day10 build . could build an OxCaml project.

30 Apr 2026

Marc Elvers

Read Article
Base Image Builder

The base image builder has a growing number of failed builds; it’s time to address these.

16 Jan 2026

Marc Elvers

Read Article
Shipping a robust DB migration runner for Chaufr (OCaml + Caqti + Lwt)

Implemented a production-minded database migration system for Chaufr: CLI, tracking, checksum validation, rollback, and safe SQL execution.

14 Sep 2025

Chukwuma Akunyili

Read Article
Label Maker in js_of_ocaml using Claude

I’ve taken a few days off, and while I’ve been travelling, I’ve been working on a personal project with Claude. I’ve used Claude Code for the first time, which is a much more powerful experience than using claude.ai as Claude can apply changes to the code and use your build tools directly to quickly iterate on a problem. In another first, I used js_of_ocaml, which has been awesome.

22 Aug 2025

Marc Elvers

Read Article
Fireworks and things

Thanks to some targetted optimisations in the script which manages Relocatable OCaml’s various branches, I’d vastly improved the turn-around time when making changes to the patch-set and propagating them through the various tests and backports. On Tuesday night, the entire set of branches was green in CI (they’re sat here with green check marks and everything). All that was to be needed on Wednesday was to quickly update the opam packaging to take advantage of Relocatable-awesomeness and plumb it all together. The 2022 version of the packages for Ljubljana I knew contained a hack for searching a previous switch, but I’d already investigated a more principled approach using opam’s build-id variable, so it would just be a matter of plumbing that in and using the cloning mechanism already in that script.

17 Jul 2025

David Allsopp's Blog

Read Article
OCaml Functors

In my OCaml project, I’d like to abstract away the details of running containers into specific modules based on the OS. Currently, I have working container setups for Windows and Linux, and I’ve haphazardly peppered if Sys.win32 then where I need differentiation, but this is OCaml, so let us use functors!

01 Jul 2025

Marc Elvers

Read Article
They do it with mirrors, you know - that sort of thing

While comfort-watching the indomitable Joan Hickson as Agatha Christie’s Miss Marple in The Body in the Library, it occurred to me that Miss Marple would have been a formidable debugger. Since returning from holiday one, two, three weeks ago, I’ve been mostly straightening out and finalising the final Relocatable OCaml PR. A frustrating task, because I know these things will take weeks and have little to show for at the end, so one spends the entire time feeling it should be finished by now. It’s just about there, when this little testsuite failure popped up:

22 Jun 2025

David Allsopp's Blog

Read Article