Graph explorer

Revisiting Occurrence Typing

We revisit occurrence typing, a technique to refine the type of variables occurring in type-cases and, thus, capturesome programming patterns used in untyped languages. Although occurrence typing 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 typing framework that encompasses andgeneralizes several aspects of current occurrence typing 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.

6 nodes5 linksoverview previewRevisiting Occurrence Typing
6 nodes5 links
Revisiting Occurrence Typing6 visible / 6 total nodes / 11 links
Co-authorshipCo-authorshipCo-authorshipCo-authorshipCo-authorshipCo-authorshipAuthorshipAuthorshipAuthorshipAuthorshipTopic signalWRevisiting Occurrence Typingpreprint / 2022AGiuseppe CastagnaResearcherAVictor LanvinResearcherAMickaël LaurentResearcherAKim NguyenResearcherTProgramming Languages1239 works
PaperSignal 105 links

Revisiting Occurrence Typing

preprint / 2022

Open