#type-systems
// 3 pages tagged #type-systems · every tag
- GADTs Through a Small Typed Expression Evaluator
Use indexed expression trees to make ill-typed syntax impossible before evaluation. - OCaml Modules vs Rust Traits vs Haskell Typeclasses
Three ways to package behaviour, and the design choices they make visible. - What Building an Interpreter Teaches About Type Design
Designing the boundaries between tokens, syntax, runtime values, environments, and errors.