Computer Science > Programming Languages
[Submitted on 12 Jul 2019 (v1), last revised 12 Feb 2022 (this version, v8)]
Title:Revisiting Occurrence Ty**
View PDFAbstract:We revisit occurrence ty**, a technique to refine the type of variables occurring in type-cases and, thus, capturesome programming patterns used in untyped languages. Although occurrence ty** was tied from its inceptionto set-theoretic types-union types, in particular-it never fully exploited the capabilities of these types. Here weshow how, by using set-theoretic types, it is possible to develop a general ty** framework that encompasses andgeneralizes several aspects of current occurrence ty** proposals and that can be applied to tackle other problemssuch as the reconstruction of intersection types for unannotated or partially annotated functions and the optimizationof the compilation of gradually typed languages.
Submission history
From: Giuseppe Castagna [view email] [via CCSD proxy][v1] Fri, 12 Jul 2019 06:43:14 UTC (112 KB)
[v2] Mon, 15 Jul 2019 08:57:24 UTC (112 KB)
[v3] Wed, 17 Jul 2019 08:23:59 UTC (112 KB)
[v4] Tue, 5 Nov 2019 15:49:39 UTC (112 KB)
[v5] Wed, 4 Mar 2020 14:59:08 UTC (134 KB)
[v6] Wed, 12 May 2021 08:40:29 UTC (98 KB)
[v7] Fri, 22 Oct 2021 07:29:12 UTC (681 KB)
[v8] Sat, 12 Feb 2022 09:18:15 UTC (111 KB)
References & Citations
Bibliographic and Citation Tools
Bibliographic Explorer (What is the Explorer?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)
Code, Data and Media Associated with this Article
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Papers with Code (What is Papers with Code?)
ScienceCast (What is ScienceCast?)
Demos
Recommenders and Search Tools
Influence Flower (What are Influence Flowers?)
Connected Papers (What is Connected Papers?)
CORE Recommender (What is CORE?)
arXivLabs: experimental projects with community collaborators
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.