~/talk

The Simple Essence of Algebraic Subtyping: Principal Type Inference with Subtyping Ma...

Talkat ICFP 2020 · 2020-08-23..08-26· [compilers-and-language-design]
slides:none on file

Proposes Simple-sub, a concrete algorithm that preserves principal types with inclusive subtyping and is implemented as Simple-sub under 500 lines (parser, simplifier, pretty-printer included). Empirically it agrees with MLsub on 1,000,000 expressions and reveals several flaws — the evaluation uncovered bugs in MLsub. Gives the actual constraints used (upper/lower bounds, union/intersection coalescing), explains how let-polymorphism and recursion are handled, and shows when simplification preserves equivalence.

AI-written summary · about

  1. 0:00Start
  2. 0:34Various Forms of Subtyping
  3. 1:33Subtyping Examples
  4. 2:28Subtyping in Functional Programming
  5. 2:50Don't "reasonable" languages avoid subtyping?
  6. 3:52Traditional Hindley-Milner Type Inference: Example
  7. 7:36Type Inference With Subtyping: Are We Done?
  8. 8:39Why the equivalence?
  9. 10:41Simple-sub Type Inference: Example (Continued)
  10. 11:19Type Inference With Subtyping: Result
  11. 13:00Invariance: Not Actually a Problem
  12. 13:51Conclusions
~/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.