dc.creatorMalewski Correa, Stefan Ignacy
dc.creatorGreenberg, Michael
dc.creatorTanter, Eric Pierre
dc.date.accessioned2022-05-03T16:41:23Z
dc.date.accessioned2022-10-17T12:49:52Z
dc.date.available2022-05-03T16:41:23Z
dc.date.available2022-10-17T12:49:52Z
dc.date.created2022-05-03T16:41:23Z
dc.date.issued2021
dc.identifierACM Program. Lang., Vol. 5, No. OOPSLA, Article 126.
dc.identifier10.1145/3485503
dc.identifierhttps://repositorio.uchile.cl/handle/2250/185231
dc.identifier.urihttps://repositorioslatinoamericanos.uchile.cl/handle/2250/4417658
dc.description.abstractDynamically-typed languages offer easy interaction with ad hoc data such as JSON and S-expressions; staticallytyped languages offer powerful tools for working with structured data, notably algebraic datatypes, which are a core feature of typed languages both functional and otherwise. Gradual typing aims to reconcile dynamic and static typing smoothly. The gradual typing literature has extensively focused on the computational aspect of types, such as type safety, effects, noninterference, or parametricity, but the application of graduality to data structuring mechanisms has been much less explored. While row polymorphism and set-theoretic types have been studied in the context of gradual typing, algebraic datatypes in particular have not, which is surprising considering their wide use in practice. We develop, formalize, and prototype a novel approach to gradually structured data with algebraic datatypes. Gradually structured data bridges the gap between traditional algebraic datatypes and flexible data management mechanisms such as tagged data in dynamic languages, or polymorphic variants in OCaml. We illustrate the key ideas of gradual algebraic datatypes through the evolution of a small server application from dynamic to progressively more static checking, formalize a core functional language with gradually structured data, and establish its metatheory, including the gradual guarantees.
dc.languageen
dc.publisherAssoc Computing Machinery
dc.rightshttp://creativecommons.org/licenses/by-nc-nd/3.0/us/
dc.rightsAttribution-NonCommercial-NoDerivs 3.0 United States
dc.sourceProceedings of the ACM on Programming Languages-PACMPL
dc.subjectGradual typing
dc.subjectAlgebraic datatypes
dc.subjectSemi-structured data
dc.titleGradually structured data
dc.typeArtículos de revistas


Este ítem pertenece a la siguiente institución