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.

Learning OCaml: Having Fun with the Fun Module

When I started to play with OCaml I was kind of surprised that there was no id (identity) function that was available out-of-box (in Stdlib module, that’s auto-opened). A quick search lead me to the Fun module, which is part of the standard library and is nested under Stdlib. It was introduced in OCaml 4.08, alongside other modules such as Int, Result and Option.1 It was part of some broader efforts to slim down Stdlib and move in the direction of a more modular standard library. ↩

19 Jul 2025

Bozhidar Batsov

Read Article
Beyond TypeScript: Differences Between Typed Languages

For the past six years, I have been working with OCaml, most of this time has been spent writing code at Ahrefs to process a lot of data…

14 Sep 2023

Ahrefs

Read Article
OCaml JTRT

This time of the year is, just like Christmas time, a time for laughs and magic... although the magic we are talking about, in the OCaml community, is not exactly nice, nor beautiful. Let's say that we are somehow akin to many religions: we know magic does exist , but that it is satanic and shouldn'...

01 Apr 2018

OCamlPro

Read Article
Dictionaries as functions

This is an "oldie but a goodie". It's super easy. A dictionary is a data structure that represents a map from keys to values. The questi...

13 Apr 2016

Shayne Fletcher

Read Article
C++ : Streams

In this blog post , types and functions were presented in OCaml for modeling streams. This post takes the action to C++. First, the type...

03 Apr 2016

Shayne Fletcher

Read Article