~/talk

Adding Kind-polymorphism To The Scala Programming Language

Talkat Scala Italy 2018 · 2018-09-14..09-15· [scala]
slides:none on file

Argues Scala needs kind-polymorphism so generic derivation can move out of macros into the compiler, enabling shapeless-style features without fragile macro internals. Shows a working typelevel Scala prototype and an experimental Dotty -Y flag implementation that accept type parameters of any kind; poly-kinded type parameters work, but polytype application (applying poly-kinded constructors to arguments) remains unimplemented. Result: prototype compiles and is usable for many cases, it revives interest and points to follow-up work to finish poly-application and land a full poly-kinded generic primitive.

AI-written summary · about

  1. 0:00Introduction and background
  2. 8:54Macros in Scala ecosystem
  3. 16:00Kind polymorphism explained
  4. 22:52Generic type classes in Shapeless
  5. 32:04Need for kind polymorphism
  6. 37:31Proof of concept implementation
  7. 46:57Current status and future work
  8. 50:17Q&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.