~/talk

Easy GADTs by Repeating Yourself

links:none on file
slides:none on file

Argues that GADTs stay messy because language lacks patterns and tools and proposes a mechanical duplication: one ADT at the term level and a mirrored duplicate term/type representations plus tiny witness values to bridge them. Demonstrates real artifacts: code and a gist that implements type-level addition, simple proofs of properties, and a prototype plan for a Michelson interpreter; uses OCaml GADTs, first-class modules for contrast, and suggests witness values erased at runtime and PPX generation to automate the boilerplate. Demos compile and work but remain impractical for production.

AI-written summary · about

  1. 0:00Introduction to GADTs
  2. 1:33Existentials and equalities
  3. 6:04Advanced GADT patterns
  4. 11:53The quest for dependent types
  5. 16:54Duplication as a technique
  6. 25:40Practical applications and trade-offs
  7. 31:11Q&A and closing remarks
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.