~/talk

Mastering Typeclass Induction

Talkat Scala World 2017 · 2017-09-16..09-19· [functional-programming]
slides:none on file

Scala code uses implicit resolution to do full type-level list as nested tuples induction: base case = unit, induction step = implicit that combines named head and named tail. It derives compile-time strings for names, builds a path-dependent out type that becomes nested Either/Option to represent union-of-event results (click/play/pause), and implements a dynamic dispatcher that parses payloads via a JSON parser (Circe/Cersei mentioned). That machinery also generates HTTP servers and clients (Finagle used), produces docs, and runs at compile time — proof-of-concept code exists but is rough.

AI-written summary · about

  1. 0:00Introduction and problem
  2. 1:47Defining the core concepts
  3. 6:03Principles of induction
  4. 9:11Type class fundamentals
  5. 13:52Baby's first induction
  6. 23:27Dynamic dispatch induction
  7. 30:31Generating HTTP servers
  8. 37:01Q&A and closing thoughts
~/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.