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.

opam 2.4 release

Feedback on this post is welcomed on Discuss! We are extremely happy to announce the release of opam 2.4.0 and encourage all users to upgrade. Please read on for installation and upgrade instructions. Major changes On opam init the compiler chosen for the default switch will no longer be ocaml-syste...

23 Jul 2025

OCamlPro

Read Article
OCaml 5.4 and opam 2.4 on their way

opam 2.4 was branched last week… very pleasing to see Ryan’s work on Nix depext support get merged (we spent quite a bit of time on that together last summer). It’s a subtle-sounding (huge) change, but the move away from relying on patch and diff as external commands (which has been a HUGE amount of work done by @kit-ty-kate) paves the way for being able to sort out the incredible slowness of opam update on Windows.

22 Apr 2025

David Allsopp's Blog

Read Article
Box Diff Tool

Over the weekend, I extended mtelvers/ocaml-box-diff to include the ability to upload files over 50MB. This is a more complex API which requires a call to https://upload.box.com/api/2.0/files/upload_sessions by posting JSON containing the name of the file, the folder ID and the file size. Box replies with various session endpoints which give the URIs to use to upload the parts and to commit the the file. Box also specifies the size of each part.

12 Apr 2025

Marc Elvers

Read Article
Bare-bones unit testing in OCaml with dune

THERE are various techniques and tools to do unit testing in OCaml. A small selection: Alcotest -...

01 Jul 2024

Yawar Amin

Read Article
opam 2.0.4 release

We are pleased to announce the release of opam 2.0.4. This new version contains some backported fixes: Sandboxing on macOS: considering the possibility that TMPDIR is unset [#3597 @herbelin - fix #3576] display: Fix opam config var display, aligned on opam config list [#3723 @rjbou - rel. #3717] pin...

10 Apr 2019

OCamlPro

Read Article
Typing Tricks: Diff lists | Drup's thingies

The diff list trick is a way to compute with lists in types. It allows to create heterogeneous lists which is very useful, in particular in the Format module from the standard library.

02 Aug 2016

Gabriel Radanne

Read Article