Skip to main content

The MuxLang Type System: What Hindley-Milner Got Wrong

· 11 min read
Derek Corniello
Creator of Mux

I have been working on my programming language Mux for a while now, and I have been really interested in the way that different programming languages handle type systems. Mux uses a strong and static type system, and I have been exploring the different ways that type systems can be designed and implemented, and just adding in different features.

While learning about this, the one type system that keeps coming up again and again is the Hindley-Milner type system.