File Download
Links for fulltext
(May Require Subscription)
- Publisher Website: 10.1007/978-3-030-17184-1_14
- Scopus: eid_2-s2.0-85064935918
- WOS: WOS:000681669300014
Supplementary
- Citations:
- Appears in Collections:
Conference Paper: Distributive Disjoint Polymorphism for Compositional Programming
Title | Distributive Disjoint Polymorphism for Compositional Programming |
---|---|
Authors | |
Issue Date | 2019 |
Publisher | Springer. |
Citation | Proceedings of the 28th European Symposium on Programming (ESOP 2019): Programming Languages and Systems, Prague, Czech Republic, 6–11 April 2019, p. 381-409 How to Cite? |
Abstract | Popular programming techniques such as shallow embeddings of Domain Specific Languages (DSLs), finally tagless or object algebras are built on the principle of compositionality. However, existing programming languages only support simple compositional designs well, and have limited support for more sophisticated ones.
This paper presents the F+i calculus, which supports highly modular and compositional designs that improve on existing techniques. These improvements are due to the combination of three features: disjoint intersection types with a merge operator; parametric (disjoint) polymorphism; and BCD-style distributive subtyping. The main technical challenge is F+i ’s proof of coherence. A naive adaptation of ideas used in System F’s parametricity to canonicity (the logical relation used by F+i to prove coherence) results in an ill-founded logical relation. To solve the problem our canonicity relation employs a different technique based on immediate substitutions and a restriction to predicative instantiations. Besides coherence, we show several other important meta-theoretical results, such as type-safety, sound and complete algorithmic subtyping, and decidability of the type system. Remarkably, unlike F<: ’s bounded polymorphism, disjoint polymorphism in F+i supports decidable type-checking. |
Description | Part of the European Joint Conferences on Theory and Practice of Software, ETAPS 2019 |
Persistent Identifier | http://hdl.handle.net/10722/301422 |
ISBN | |
ISI Accession Number ID | |
Series/Report no. | Lecture Notes in Computer Science (LNCS) ; v. 11423 |
DC Field | Value | Language |
---|---|---|
dc.contributor.author | Bi, X | - |
dc.contributor.author | Xie, N | - |
dc.contributor.author | Dos Santos Oliveira, BC | - |
dc.contributor.author | Schrijvers, T | - |
dc.date.accessioned | 2021-07-27T08:10:50Z | - |
dc.date.available | 2021-07-27T08:10:50Z | - |
dc.date.issued | 2019 | - |
dc.identifier.citation | Proceedings of the 28th European Symposium on Programming (ESOP 2019): Programming Languages and Systems, Prague, Czech Republic, 6–11 April 2019, p. 381-409 | - |
dc.identifier.isbn | 9783030171834 | - |
dc.identifier.uri | http://hdl.handle.net/10722/301422 | - |
dc.description | Part of the European Joint Conferences on Theory and Practice of Software, ETAPS 2019 | - |
dc.description.abstract | Popular programming techniques such as shallow embeddings of Domain Specific Languages (DSLs), finally tagless or object algebras are built on the principle of compositionality. However, existing programming languages only support simple compositional designs well, and have limited support for more sophisticated ones. This paper presents the F+i calculus, which supports highly modular and compositional designs that improve on existing techniques. These improvements are due to the combination of three features: disjoint intersection types with a merge operator; parametric (disjoint) polymorphism; and BCD-style distributive subtyping. The main technical challenge is F+i ’s proof of coherence. A naive adaptation of ideas used in System F’s parametricity to canonicity (the logical relation used by F+i to prove coherence) results in an ill-founded logical relation. To solve the problem our canonicity relation employs a different technique based on immediate substitutions and a restriction to predicative instantiations. Besides coherence, we show several other important meta-theoretical results, such as type-safety, sound and complete algorithmic subtyping, and decidability of the type system. Remarkably, unlike F<: ’s bounded polymorphism, disjoint polymorphism in F+i supports decidable type-checking. | - |
dc.language | eng | - |
dc.publisher | Springer. | - |
dc.relation.ispartof | Proceedings of the 28th European Symposium on Programming (ESOP 2019): Programming Languages and Systems | - |
dc.relation.ispartofseries | Lecture Notes in Computer Science (LNCS) ; v. 11423 | - |
dc.rights | This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. | - |
dc.title | Distributive Disjoint Polymorphism for Compositional Programming | - |
dc.type | Conference_Paper | - |
dc.identifier.email | Dos Santos Oliveira, BC: bruno@cs.hku.hk | - |
dc.identifier.authority | Dos Santos Oliveira, BC=rp01786 | - |
dc.identifier.doi | 10.1007/978-3-030-17184-1_14 | - |
dc.identifier.scopus | eid_2-s2.0-85064935918 | - |
dc.identifier.hkuros | 323715 | - |
dc.identifier.spage | 381 | - |
dc.identifier.epage | 409 | - |
dc.identifier.isi | WOS:000681669300014 | - |
dc.publisher.place | Cham | - |