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.

Fun with Algebraic Effects - from Toy Examples to Hardcaml Simulations

I recently ported the Hardcaml_step_testbenchlibrary, one of the libraries thatwe use at Jane Street for Hardcaml simulations, from using monads to using alg...

06 Jan 2026

Jane Street Tech Blog

Read Article
Basic dependency injection with objects

A simple way to encode dependency injection using the Reader monad and objects in OCaml (to work well with type inference).

18 Aug 2025

grim.cargocut.org

Read Article
Flambda2 Ep. 4: How to write a purely functional compiler

Welcome to a new episode of The Flambda2 Snippets! Today, we will cover key high-level aspects of the algorithm of Flambda2. We will do our best to explain the fundamental design decisions pertaining to the architecture of the compiler. We will touch on how we managed to make a purely functional opt...

19 Feb 2025

OCamlPro

Read Article
How I explore domain problems cheaply and fast with OCaml: modeling a web router

You've heard of Domain-Driven Design, now buckle up for Type-Driven Domain..wait. Typed Domains Driving...nevermind. We're gonna use Only Types to Understand our Domain Problems Very Fast! 🚀

24 Aug 2023

Practical OCaml

Read Article
GUI Event Handling with a Functional Hierarchical State Machine

A journey toward a state-machine without mutable state, but enough flexibility to express GUI behaviors. This is nothing new in it's parts...

04 Mar 2014

Cranial Burnout

Read Article