Practical OCaml
Sign in Subscribe

domain modeling

A collection of 3 posts
How to build type-safe State Machines using type-state
ocaml Featured

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 6 min read
domain modeling Featured

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 7 min read
ocaml

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 9 min read
Page 1 of 1
Practical OCaml © 2025
  • Practical ReScript
  • Practical Rust
  • Abstract Machines
  • @leostera
Powered by Ghost