~/talk

Taming the context beast

Talkat ScalaCon 2022 · 2022-10-04..10-07· [scala]
links:none on file
slides:none on file

Claim: plain Scala 3 context functions fail on type inference and composition so you cannot reliably build a whole business app with them alone. Using Scala 3 transparent inline macros and compile‑time reflection the author implements a tiny prototype library called lore that generates intersection using types and provides flatMap/for‑comprehension wrappers. It works for many examples (DSLs, composed tasks) but is an early three‑file prototype that can crash the compiler and is untested and potentially unsound.

AI-written summary · about

  1. 0:00Introduction
  2. 3:09Understanding context
  3. 9:31Using context functions
  4. 12:06Building custom DSLs
  5. 16:04Business applications
  6. 27:20Compiler type behavior
  7. 39:17Macro-based solution
  8. 49:04Conclusion and Q&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.