dc.date.accessioned2021-08-23T22:58:45Z
dc.date.accessioned2022-10-19T00:30:50Z
dc.date.available2021-08-23T22:58:45Z
dc.date.available2022-10-19T00:30:50Z
dc.date.created2021-08-23T22:58:45Z
dc.date.issued2017
dc.identifierhttp://hdl.handle.net/10533/252402
dc.identifier1150017
dc.identifierWOS:000455332000019
dc.identifier.urihttps://repositorioslatinoamericanos.uchile.cl/handle/2250/4483665
dc.description.abstractUnion types allow to capture the possibility of a term to be of several possibly unrelated types. Traditional static approaches to union types are untagged and tagged unions, which present dual advantages in their use. Inspired by recent work on using abstract interpretation to understand gradual typing, we present a novel design for union types, called gradual union types. Gradual union types combine the advantages of tagged and untagged union types, backed by dynamic checks. Seen as a gradual typing discipline, gradual union types are restricted imprecise types that denote a finite number of static types. We apply the Abstracting Gradual Typing (AGT) methodology of Garcia et al. to derive the static and dynamic semantics of a language that supports both gradual unions and the traditional, totally-unknown type. We uncover that gradual unions interact with the unknown type in a way that mandates a stratified approach to AGT, relying on a composition of two distinct abstract interpretations in order to retain optimality. Thanks to the abstract interpretation framework, the resulting language is type safe and satisfies the refined criteria for gradual languages. We also show how to compile such a language to a threesome cast calculus, and prove that the compilation preserves the semantics and properties of the language.
dc.languageeng
dc.relationhttps://dialnet.unirioja.es/descarga/articulo/6079156.pdf
dc.relationhandle/10533/111557
dc.relation10.1007/978-3-319-66706-5_19
dc.relationhandle/10533/111541
dc.relationhandle/10533/108045
dc.rightsinfo:eu-repo/semantics/article
dc.rightsinfo:eu-repo/semantics/openAccess
dc.rightsAtribución-NoComercial-SinDerivadas 3.0 Chile
dc.rightshttp://creativecommons.org/licenses/by-nc-nd/3.0/cl/
dc.titleA Gradual Interpretation of Union Types
dc.typeArticulo


Este ítem pertenece a la siguiente institución