Stronger type systems
Type systems that can state more than ordinary static types: predicates checked by a solver, types that depend on values, and Scala’s richer type features. Part of Type-driven design.
- Refinement types: what they are, why bother, how SMT-based checking and Liquid inference work, and their limits.
- Refinement types by language: Python, TypeScript, Haskell, Rust, Ada and Scala, and Scala’s terminology trap.
- Towards dependent types: the progression from ordinary to dependent types, and the two senses of “dependent”.
- Scala type system: abstract types and the currency case study, nominal and structural subtyping, union and intersection types, path-dependent types, type tags, multiversal equality, and encoding contracts.