~/talk

Derive class instances topdown and derive ttg automatically

Talkat Haskell 2025 · 2025-10-16..10-17· [haskell, compilers-and-language-design]
links:none on file
slides:none on file

Introduces a top‑down deriving engine that generates multiple related class instances (handles nested/composite types and classes with many superclasses) and a Template Haskell generator that emits decoratable type families (TTG) automatically; provides four Template Haskell APIs and uses SYB substitution with Any to make GHC’s instance check work on polymorphic types. Works on ST and GHC source types and eases boilerplate for packages with many types (example: 78 data types), but mutual recursion and some Haskell-src-ext support remain buggy.

AI-written summary · about

  1. 0:00Introduction
  2. 3:15Composite data types challenges
  3. 6:49Four APIs for instance generation
  4. 8:36Polymorphic type issues
  5. 12:56Context inference with data
  6. 17:43Controlling type generation
  7. 20:56Future work on top-down deriving
  8. 21:16Automatic TDG generation
  9. 22:24Q&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.