~/talk

Implicit modules, a middle step towards modular implicits

Talkat ML 2025 · on Monday, 2025-11-24· [compilers-and-language-design]
links:none on file
slides:none on file

Claims a working implementation and formalization of modular implicits prototype for OCaml: a module-elaboration engine that synthesizes first-class module arguments from signatures, and a companion modular explicits change already slated for integration. It implements an incremental search state machine with reduction rules, constant-time candidate selection, shallow-subtyping filters, and a termination criterion based on a depth × ω metric over types. It is deterministic and sound but deliberately incomplete (rejects some terminating searches), and still needs work to integrate inference with core-language type inference.

AI-written summary · about

  1. 0:00Missing features in Haskell OCaml
  2. 1:04Implicit modules introduction
  3. 2:28Module expressions in practice
  4. 4:13Soundness and inference determinism
  5. 6:43Completeness and termination criteria
  6. 9:15Multiple functor arguments and order
  7. 12:46Dynamic module resolution
  8. 20:35Implementation optimizations
  9. 21:37Future directions for implicit modules
  10. 23:01Q&A on scoping and termination
  11. 24:28Scala comparison and termination
  12. 25:55Implicit modules scoping rules
  13. 26:58Uniqueness and weakening property
~/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.