~/talk

Say goodbye to implicits - contextual abstractions in Scala 3

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

Scala 3 removes the old implicit keyword and replaces it with focused constructs: the given/using pair for contextual values, extension methods for adding behavior to closed types, and Scala.Conversion objects for conversions; the helper summon replaces implicitly. The talk demonstrates seven concrete use cases (context values, type classes, conversions, imports, anonymous givens, ordering, compiler diagnostics), shows dot.given imports and better missing-parameter error messages, and confirms Scala 2 implicits interoperate during migration.

AI-written summary · about

  1. 0:00Implicits struggle in Scala
  2. 1:27Implicits and Scala 2 problems
  3. 3:57Why Scala 3 redesigned implicits
  4. 6:02Context with given and using
  5. 8:54Extension methods
  6. 12:04Type classes with given
  7. 17:02Implicit conversions with Conversion
  8. 19:30Imports for givens
  9. 21:00Unused names and anonymous givens
  10. 22:48Better compiler errors
  11. 24:34Migrate implicits to given
  12. 26:24Benefits of contextual abstractions
  13. 27:31Q&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.