~/talk

Adding kind-polymorphism to the Scala programming language

slides:none on file

Proposal: add universal kind polymorphism so generic derivation handles type constructors of arbitrary kind instead of only and ->. Prototypes live in typelevel Scala and in Dotty, implemented via AnyKind bounds and a GADT-style type-apply encoding plus synthesized bridge methods. Result: library authors get simpler, more uniform Generic derivation* and can auto-derive things like FunctorK and partial-to-complete transformers; it is experimentally working but needs SIP, type-inference tweaks and ergonomic polishing before wide adoption.

AI-written summary · about

  1. 0:00Start
  2. 1:15Background
  3. 5:12Non-portable macros
  4. 7:19What kinds are representable?
  5. 17:14Can we abstract way the differences?
  6. 22:56Introducing kind polymorphism
  7. 37:23Other kinds
~/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.