~/talk

MLstruct: Principal Type Inference in a Boolean Algebra of Structural Types

Talkat OOPSLA 2022 · 2022-12-05..12-10· [typescript, compilers-and-language-design]
links:none on file
slides:none on file

MLstruct claims to combine principal polymorphic inference with first-class unions, intersections and equirecursive structural types by treating type connectives as a Boolean algebra of types and adding a few sound subtyping rules. It uses nominal class tags to get extensible variants without row variables, a constraint solver that moves intersections/negations into bounds, and normal forms for termination. The implementation has a web demo, several thousand lines of tests, and a proof bundle forthcoming; complexity is high in theory but the prototype works on real examples.

AI-written summary · about

  1. 0:00Intro
  2. 2:50TypeScript-style Structural Types
  3. 5:54Nominal Tags
  4. 7:45Eliminating Unions by Pattern Matching
  5. 10:16Unions and Open Pattern Matching (Default Cases)
  6. 12:00Constructor Difference as Negated Tag Intersection
  7. 13:06A Boolean Algebra of Structural Types
  8. 14:05Equirecursive Types
  9. 16:38Type Inference by Constraint Solving
  10. 18:16Main Challenges of Constraint Solving
  11. 19:16Solving the First Problem
  12. 20:27Consequences of Bending Subtyping
  13. 21:41Solving the Second Problem
  14. 22:41Other Important Concepts of MLstruct
  15. 24:46Implementation
  16. 26:14Equirecursive Type Inference
  17. 27:10Conclusion
~/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.