File Download

There are no files associated with this item.

  Links for fulltext
     (May Require Subscription)
Supplementary

Conference Paper: Applicative Intersection Types

TitleApplicative Intersection Types
Authors
Issue Date25-Nov-2022
PublisherSpringer
Abstract

Calculi with intersection types have been used over the years to model various features, including: overloading, extensible records and, more recently, nested composition and return type overloading. Never- theless no previous calculus supports all those features at once. In this paper we study expressive calculi with intersection types and a merge operator. Our first calculus supports an unrestricted merge operator, which is able to support all the features, and is proven to be type sound. However, the semantics is non-deterministic. In the second calculus we employ a previously proposed disjointness restriction, to make the se- mantics deterministic. Some forms of overloading are forbidden, but all other features are supported. The main challenge in the design is related to the semantics of applications and record projections. We propose an applicative subtyping relation that enables the inference of result types for applications and projections. Correspondingly, there is an applica- tive dispatching relation that is used for the dynamic semantics. The two calculi and their proofs are formalized in the Coq theorem prover.


Persistent Identifierhttp://hdl.handle.net/10722/338158
ISBN
ISI Accession Number ID

 

DC FieldValueLanguage
dc.contributor.authorXue, Xu-
dc.contributor.authorDos Santos Oliveira, Bruno Cesar-
dc.contributor.authorXie, Ningning -
dc.date.accessioned2024-03-11T10:26:41Z-
dc.date.available2024-03-11T10:26:41Z-
dc.date.issued2022-11-25-
dc.identifier.isbn9783031210365-
dc.identifier.urihttp://hdl.handle.net/10722/338158-
dc.description.abstract<p>Calculi with intersection types have been used over the years to model various features, including: overloading, extensible records and, more recently, nested composition and return type overloading. Never- theless no previous calculus supports all those features at once. In this paper we study expressive calculi with intersection types and a merge operator. Our first calculus supports an unrestricted merge operator, which is able to support all the features, and is proven to be type sound. However, the semantics is non-deterministic. In the second calculus we employ a previously proposed disjointness restriction, to make the se- mantics deterministic. Some forms of overloading are forbidden, but all other features are supported. The main challenge in the design is related to the semantics of applications and record projections. We propose an applicative subtyping relation that enables the inference of result types for applications and projections. Correspondingly, there is an applica- tive dispatching relation that is used for the dynamic semantics. The two calculi and their proofs are formalized in the Coq theorem prover.</p>-
dc.languageeng-
dc.publisherSpringer-
dc.relation.ispartofThe 20th Asian Symposium on Programming Languages and Systems (05/12/2022-10/12/2022, Auckland)-
dc.titleApplicative Intersection Types-
dc.typeConference_Paper-
dc.identifier.doi10.1007/978-3-031-21037-2_8-
dc.identifier.scopuseid_2-s2.0-85144400820-
dc.identifier.volume13658 LNCS-
dc.identifier.spage155-
dc.identifier.epage174-
dc.identifier.isiWOS:000897034100008-
dc.identifier.eisbn9783031210372-

Export via OAI-PMH Interface in XML Formats


OR


Export to Other Non-XML Formats