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.

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
OCaml, modules, and import schemes

30 Jun 2025

Xavier Van de Woestyne's Blog

Read Article
Guarded methods in OCaml

29 Jun 2025

Xavier Van de Woestyne's Blog

Read Article
Containerd on Windows

Everything was going fine until I ran out of disk space. My NVMe, C: drive, is only 256GB, but I have a large, 1.7TB SSD available as D:. How trivial, change a few paths and carry on, but it wasn’t that simple, or was it?

27 Jun 2025

Marc Elvers

Read Article
Improve the deployment time for opam2web

The opam2web image for opam.ocaml.org is huge weighing in at more than 25 GB. The bulk of this data is opam archives, which are updated and copied into a stock caddy image.

24 Jun 2025

Marc Elvers

Read Article
Transitive Reduction of Package Graph

I have previously written about using a topological sort of a directed acyclic graph (DAG) of package dependencies to create an ordered list of installation operations. I now want to create a transitive reduction, giving a graph with the same vertices and the fewest number of edges possible.

23 Jun 2025

Marc Elvers

Read Article