~/talk

Type Inference Techniques: Implementation and Formalization, Better Together

Talkat WITS 2026 · on Saturday, 2026-01-17· [developer-experience]
slides:none on file

Argues that informal compiler hacks need formal proofs and demonstrates this with two concrete cases: scope checks for high‑rank polymorphism implemented via level numbers and the untouchable variables discipline for GADTs. Shows a real GHC corner‑case where levels let a program be accepted despite the formal outside‑in specification (a bug present for over 10 years and since fixed). Presents a Koka implementation with microbenchmarks and ongoing work toward a mechanized, level‑based formalization.

AI-written summary · about

  1. 0:00Welcome
  2. 1:05Type system components
  3. 4:14Implementation techniques
  4. 8:05High rank polymorphism
  5. 13:30Implementation levels
  6. 16:00Generalized algebraic data types issues
  7. 21:39GHC bug gap
  8. 23:46Current work
  9. 24:28Q&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.