Oxidizing OCaml: Data Race Freedom

OCaml with Jane Street extensions is available from our public opam repo. Only a slice of the features described in this series are currently implemented.

01 Sep 2023

Jane Street Tech Blog

Read Article
How to build type-safe State Machines using type-state

Tired of writing state machines full of invalid transitions? Type-state may be what you're looking for. In this issue of Practical OCaml we show you how to use it to build type-safe state machines.

29 Aug 2023

Practical OCaml

Read Article
A quick guide to GADTs and why you ain't gonna need them

Ever wanted to use a GADT but did not know if you really needed them? You probably don't. And here's why.

28 Aug 2023

Practical OCaml

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
{ hello = `world; }

And here we are! After writing my share of ReScript at Practical ReScript, I figured I'd start a blog for OCaml that would help consolidate my experiences with it into some Practical advice, that you can use to start new projects, to contribute to existing ones, hell even get a

23 Aug 2023

Practical OCaml

Read Article