Graph explorer

Modular implicits

We present modular implicits, an extension to the OCaml language for ad-hoc polymorphism inspired by Scala implicits and modular type classes. Modular implicits are based on type-directed implicit module parameters, and elaborate straightforwardly into OCaml's first-class functors. Basing the design on OCaml's modules leads to a system that naturally supports many features from other languages with systematic ad-hoc overloading, including inheritance, instance constraints, constructor classes and associated types.

5 nodes4 linksoverview mapModular implicits
5 nodes4 links
Modular implicits5 visible / 5 total nodes / 7 links
Co-authorshipCo-authorshipCo-authorshipAuthorshipAuthorshipAuthorshipTopic signalWModular implicitspreprint / 2015ALeo WhiteResearcherAFrédéric BourResearcherAJeremy YallopResearcherTProgramming Languages1239 works
PaperSignal 104 links

Modular implicits

preprint / 2015

Open