Blog

The OCaml Planet

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.

OpenAI and structured outputs from OCaml

with magic, without (touching) JSON

07 Mar 2025

Ahrefs

Read Article
Feature Parity Series: Statmemprof Returns!

Statmemprof, a statistical memory profiler for OCaml, is now compatible with OCaml 5! Discover the technical background to the return of the feature.

06 Mar 2025

Tarides

Read Article
Learning OCaml: Functions without Parameters

A couple of days ago I noticed on OCaml’s Discord server that someone was confused by OCaml function applications (invocations) like these:

02 Mar 2025

Bozhidar Batsov

Read Article
Full blown productivity in VSCode with OCaml

More features for ocaml-lsp that enhance productivity when writing OCaml.

28 Feb 2025

Tarides

Read Article
Learning OCaml: Matching Anything or the Lack of Anything

I’ve noticed that some newcomers to OCaml are a bit confused by code like the following:

27 Feb 2025

Bozhidar Batsov

Read Article
Simple Ways to Run OCaml Code

When people think of OCaml they are usually thinking of compiling code to a binary before they are able to run it. While most OCaml code is indeed compiled to binaries, you don’t really need to do this, especially while you’re learning the language and are mostly playing with small exercises.

23 Feb 2025

Bozhidar Batsov

Read Article
How I fixed Slipshow's worst flaw using OCaml and a monad

Rewriting the Slipshow engine from JavaScript to OCaml allowed me to fix an embarassing set of bugs, in an elegant way. This is the story of it!

21 Feb 2025

panglesd on his personal website

Read Article