Foundations
What a type system proves and how, and how to decide which properties are worth putting into types. Part of Type-driven design.
- Type systems: Pierce’s definition, soundness and conservativity, and what type systems buy.
- Dimensions of type systems: static, dynamic and gradual checking; safety and what “strong” means; nominal and structural equivalence.
- Type inference: inference as ergonomics, and where it stops as type systems get more expressive.
- Types as propositions: the Curry-Howard correspondence and how far ordinary languages honour it.
- What belongs in the type system: types, contracts, runtime checks and tests; good targets; a decision procedure; where types stop matching reality; costs and failure modes.