~/talk

Understanding the Type System of Scala 3

Talkat Scala Love in the City 2021 · on Saturday, 2021-02-13· [scala]
slides:none on file

Covers concrete Scala 3 features: polymorphic function types (syntax for type-parameterized function literals), type lambdas (square-bracket params and double-arrow ->>), and how higher-kinded patterns map to System F/ System Fω. Demonstrates applying a polymorphic literal to Bool or String, explains type-level variance and bounds, and shows type-level eta-expansion — treating List/Map as named type-level methods that automatically expand to type lambdas — which simplifies collection and library designs and compiles as expected.

AI-written summary · about

  1. 0:00Introduction
  2. 1:31Lambda calculus basics
  3. 5:40Functions in Scala
  4. 8:21Understanding eta expansion
  5. 10:57System F and polymorphism
  6. 14:13Polymorphic function types
  7. 16:10Higher-kinded types
  8. 21:04Type lambdas in Scala 3
  9. 25:15Advanced type mappings
~/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.