~/talk

Thinking in Scala 3 Types

Talkat Scala Days 2025 Lausanne · 2025-08-19..08-21· [scala]
links:none on file
slides:none on file

Scala 3’s type system gets concrete models and concrete features: think types as sets and substitution to reduce polymorphism, with worked examples of converting defs to vals including curried and polymorphic cases (def-to-val refactor), and new type lambdas that make polymorphic type members into first-class types. Union and intersection types create a true lattice (AnyKind and a right-hand cloud for type lambdas), polymorphic function literals exist at runtime, and soundness proofs (DOT) fix prior Scala 2 corner cases.

AI-written summary · about

  1. 0:00Scala 3 types intro
  2. 2:09Value functions and substitution
  3. 8:13Type parameters and methods
  4. 12:50Types as sets and subtyping
  5. 17:28Covariant types and bounds
  6. 19:36Union and intersection types
  7. 21:24Type intervals and classifiers
  8. 26:21Type-level defs and refactoring
  9. 30:35Type lambdas and lattice
  10. 32:41Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.