~/talk

Rethinking the Value Restriction

Talkat ML 2024 · on Friday, 2024-09-06· [compilers-and-language-design]
links:none on file
slides:none on file

Reformulates ML core with references and the value restriction and shows two standard assumptions fail: prenex polymorphism and let polymorphism are unsound once fresh references or exception types create hidden sharing. Proposes full rank‑1 subsumption, lazy instantiation of for‑alls at use and generalization only at lambdas, dropping the syntactic “value” check. Types a few extra examples (functions packaged with refs, polymorphic returns) and matches implementations like SML#/MLScript without changing runtime behavior.

AI-written summary · about

  1. 0:00Hindley-Milner foundations
  2. 5:16The value restriction issue
  3. 7:11Rethinking the standard rules
  4. 15:02Lazy instantiation strategy
  5. 16:50Generalization in full rank
  6. 20:50Q&A on type system design
  7. 23:34Polymorphism for constructors
  8. 24:11Refining the implementation
~/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.