Modular implicits

21Citations
Citations of this article
34Readers
Mendeley users who have this article in their library.

Abstract

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.

References Powered by Scopus

How to make ad-hoc polymorphism less ad hoc

511Citations
N/AReaders
Get full text

First-class type classes

137Citations
N/AReaders
Get full text

Associated types with class

78Citations
N/AReaders
Get full text

Cited by Powered by Scopus

Reconciling abstraction with high performance: A metaocaml approach

22Citations
N/AReaders
Get full text

Session-ocaml: A session-based library with polarities and lenses

18Citations
N/AReaders
Get full text

Static interpretation of higher-order modules in futhark: Functional gpu programming in the large

12Citations
N/AReaders
Get full text

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Cite

CITATION STYLE

APA

White, L., Bour, F., & Yallop, J. (2015). Modular implicits. In Electronic Proceedings in Theoretical Computer Science, EPTCS (Vol. 198, pp. 22–63). Open Publishing Association. https://doi.org/10.4204/EPTCS.198.2

Readers' Seniority

Tooltip

PhD / Post grad / Masters / Doc 12

67%

Researcher 5

28%

Professor / Associate Prof. 1

6%

Readers' Discipline

Tooltip

Computer Science 26

87%

Mathematics 2

7%

Neuroscience 1

3%

Engineering 1

3%

Save time finding and organizing research with Mendeley

Sign up for free