RSS Amplifier

Chris Armstrong · May 13, 2026

Emulating inheritance without classes

0
Sign in to vote or save

This site took too long to answer. You can still read it on the original site — the toolbar below keeps your place in the directory.

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 on chrisarmstrong.dev

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.