Sie befinden Sich nicht im Netzwerk der Universität Paderborn. Der Zugriff auf elektronische Ressourcen ist gegebenenfalls nur via VPN oder Shibboleth (DFN-AAI) möglich. mehr Informationen...
Ergebnis 7 von 3982
Proceedings of ACM on programming languages, 2020-11, Vol.4 (OOPSLA), p.1-30, Article 206
2020

Details

Autor(en) / Beteiligte
Titel
Resolution as intersection subtyping via Modus Ponens
Ist Teil von
  • Proceedings of ACM on programming languages, 2020-11, Vol.4 (OOPSLA), p.1-30, Article 206
Ort / Verlag
New York, NY, USA: ACM
Erscheinungsjahr
2020
Link zum Volltext
Quelle
ACM Digital Library Complete
Beschreibungen/Notizen
  • Resolution and subtyping are two common mechanisms in programming languages. Resolution is used by features such as type classes or Scala-style implicits to synthesize values automatically from contextual type information. Subtyping is commonly used to automatically convert the type of a value into another compatible type. So far the two mechanisms have been considered independently of each other. This paper shows that, with a small extension, subtyping with intersection types can subsume resolution. This has three main consequences. Firstly, resolution does not need to be implemented as a separate mechanism. Secondly, the interaction between resolution and subtyping becomes apparent. Finally, the integration of resolution into subtyping enables first-class (implicit) environments. The extension that recovers the power of resolution via subtyping is the modus ponens rule of propositional logic. While it is easily added to declarative subtyping, significant care needs to be taken to retain desirable properties, such as transitivity and decidability of algorithmic subtyping, and coherence. To materialize these ideas we develop λiMP, a calculus that extends a iprevious calculus with disjoint intersection types, and develop its metatheory in the Coq theorem prover.
Sprache
Englisch
Identifikatoren
ISSN: 2475-1421
eISSN: 2475-1421
DOI: 10.1145/3428274
Titel-ID: cdi_crossref_primary_10_1145_3428274

Weiterführende Literatur

Empfehlungen zum selben Thema automatisch vorgeschlagen von bX