Emulating inheritance without classes (opens in new tab)
The O in OCaml is for its object-oriented extension, but I needed a way to emulate the constraints of inheritance without it\. This raised some interesting design questions about how to do it using only the core ML language\.
Read the original article