File Download
Links for fulltext
(May Require Subscription)
- Publisher Website: 10.4230/LIPIcs.ECOOP.2020.27
- Scopus: eid_2-s2.0-85115257015
- Find via
Supplementary
-
Citations:
- Scopus: 0
- Appears in Collections:
Conference Paper: Row and Bounded Polymorphism via Disjoint Polymorphism
Title | Row and Bounded Polymorphism via Disjoint Polymorphism |
---|---|
Authors | |
Keywords | Intersection types bounded polymorphism row polymorphism |
Issue Date | 2020 |
Publisher | Schloss Dagstuhl - Leibniz-Zentrum fuer Informatik GmbH. The Journal's web site is located at hhttp://www.dagstuhl.de/publikationen/lipics/ |
Citation | The 34th European Conference on Object-Oriented Programming (ECOOP 2020), Virtual Conference, Berlin, Germany, 15-17 November 2020. In Hirschfeld, R & Pape, T (Eds.). LIPICS - Leibniz International Proceedings in Informatics, 2020, v. 166, article no. 27, p. 27:1-27:30 How to Cite? |
Abstract | Polymorphism and subtyping are important features in mainstream OO languages. The most common way to integrate the two is via 𝖥_{< :} style bounded quantification. A closely related mechanism is row polymorphism, which provides an alternative to subtyping, while still enabling many of the same applications. Yet another approach is to have type systems with intersection types and polymorphism. A recent addition to this design space are calculi with disjoint intersection types and disjoint polymorphism. With all these alternatives it is natural to wonder how they are related. This paper provides an answer to this question. We show that disjoint polymorphism can recover forms of both row polymorphism and bounded polymorphism, while retaining key desirable properties, such as type-safety and decidability. Furthermore, we identify the extra power of disjoint polymorphism which enables additional features that cannot be easily encoded in calculi with row polymorphism or bounded quantification alone. Ultimately we expect that our work is useful to inform language designers about the expressive power of those common features, and to simplify implementations and metatheory of feature-rich languages with polymorphism and subtyping. |
Persistent Identifier | http://hdl.handle.net/10722/301427 |
ISSN | 2023 SCImago Journal Rankings: 0.796 |
DC Field | Value | Language |
---|---|---|
dc.contributor.author | Xie, N | - |
dc.contributor.author | Dos Santos Oliveira, BC | - |
dc.contributor.author | Bi, X | - |
dc.contributor.author | Schrijvers, T | - |
dc.date.accessioned | 2021-07-27T08:10:55Z | - |
dc.date.available | 2021-07-27T08:10:55Z | - |
dc.date.issued | 2020 | - |
dc.identifier.citation | The 34th European Conference on Object-Oriented Programming (ECOOP 2020), Virtual Conference, Berlin, Germany, 15-17 November 2020. In Hirschfeld, R & Pape, T (Eds.). LIPICS - Leibniz International Proceedings in Informatics, 2020, v. 166, article no. 27, p. 27:1-27:30 | - |
dc.identifier.issn | 1868-8969 | - |
dc.identifier.uri | http://hdl.handle.net/10722/301427 | - |
dc.description.abstract | Polymorphism and subtyping are important features in mainstream OO languages. The most common way to integrate the two is via 𝖥_{< :} style bounded quantification. A closely related mechanism is row polymorphism, which provides an alternative to subtyping, while still enabling many of the same applications. Yet another approach is to have type systems with intersection types and polymorphism. A recent addition to this design space are calculi with disjoint intersection types and disjoint polymorphism. With all these alternatives it is natural to wonder how they are related. This paper provides an answer to this question. We show that disjoint polymorphism can recover forms of both row polymorphism and bounded polymorphism, while retaining key desirable properties, such as type-safety and decidability. Furthermore, we identify the extra power of disjoint polymorphism which enables additional features that cannot be easily encoded in calculi with row polymorphism or bounded quantification alone. Ultimately we expect that our work is useful to inform language designers about the expressive power of those common features, and to simplify implementations and metatheory of feature-rich languages with polymorphism and subtyping. | - |
dc.language | eng | - |
dc.publisher | Schloss Dagstuhl - Leibniz-Zentrum fuer Informatik GmbH. The Journal's web site is located at hhttp://www.dagstuhl.de/publikationen/lipics/ | - |
dc.relation.ispartof | LIPICS - Leibniz International Proceedings in Informatics | - |
dc.relation.ispartof | The 34th European Conference on Object-Oriented Programming (ECOOP 2020 | - |
dc.rights | This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. | - |
dc.subject | Intersection types | - |
dc.subject | bounded polymorphism | - |
dc.subject | row polymorphism | - |
dc.title | Row and Bounded Polymorphism via Disjoint Polymorphism | - |
dc.type | Conference_Paper | - |
dc.identifier.email | Dos Santos Oliveira, BC: bruno@cs.hku.hk | - |
dc.identifier.authority | Dos Santos Oliveira, BC=rp01786 | - |
dc.description.nature | published_or_final_version | - |
dc.identifier.doi | 10.4230/LIPIcs.ECOOP.2020.27 | - |
dc.identifier.scopus | eid_2-s2.0-85115257015 | - |
dc.identifier.hkuros | 323738 | - |
dc.identifier.volume | 166 | - |
dc.identifier.spage | 27:1 | - |
dc.identifier.epage | 27:30 | - |
dc.publisher.place | Germany | - |