~/talk

HKD: stem cells for data

Talkat Scala Love in the City 2021 · on Saturday, 2021-02-13· [scala, functional-programming]
links:none on file
slides:none on file

Concrete recipe for turning case classes into interchangeable data shapes using HKD: wrap fields in Option or effect types, derive applicative and traversal instances, and run polymorphic transformations across every field. The talk shows a Scala 3 implementation that auto-derives typeclass instances (Magnolia-like) via the tofu module, handles indexed collections and default values, and demonstrates console examples that actually compile and run. Code and examples are published so the library can be dropped into a codebase to replace handwritten boilerplate.

AI-written summary · about

  1. 0:00Introduction to HKD
  2. 3:00Basic HKD concepts
  3. 10:00Polymorphic HKD in Scala
  4. 17:00HKD for domain modeling
  5. 24:00HKD with type classes
  6. 31:00Practical HKD examples
  7. 38:00Advanced HKD techniques
  8. 45:00Q&A and conclusion
~/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.