~/talk

Keynote - What to Leave Implicit

Talkat Scala Days Copenhagen 2017 · 2017-05-30..06-02· [scala, software-architecture]
slides:none on file

Scala’s implicits are evaluated as concrete design changes: Dotty already merges a tighter implicit conversion rule and implicit converters, and adds lazy implicits to stop diverging searches. Implicit function types become first-class, letting 2,600+ repetitive implicit contexts (example: Dotty compiler) collapse into typed closures that optimize to plain implicits and run >7× faster than Reader monads. A coherence proposal and Any/AnyRef reshaping aim to prevent ambiguous type-class instances; some items are implemented, others remain proposals.

AI-written summary · about

  1. 0:00Intro
  2. 1:27Traditional ways to express context
  3. 5:11The Functional Way
  4. 5:37Functional is Good
  5. 7:38Ground Rules
  6. 9:47Implicit Classes
  7. 11:11Reasoning Footprint of Implicitness
  8. 13:27Extension Methods
  9. 15:23Late Tralt Implementation
  10. 17:28What about simple conversions?
  11. 21:17Anti Patterns
  12. 27:52Implicit Parameters - Use Cases Implicit parameters can
  13. 28:28Prove Theorems
  14. 31:34Establish Context
  15. 36:30Implement Type Classes
  16. 37:41Tighten Rules for Implicit Conversions
  17. 40:26Lazy Implicits
  18. 42:42Multiple Implicit Parameter Lists
  19. 47:16Coherence Rules Out Ambiguities
  20. 49:48Parametricity
  21. 51:52Implicit Function Types
  22. 52:46Towards a solution
  23. 54:34Two Rules for Typing
  24. 55:37Revised Example
  25. 56:53Efficiency
  26. 57:32The Reader Monad
  27. 59:02An encore: The Builder Pattern
  28. 59:45Scala Implementation
~/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.