2024
DOI: 10.1145/3632882
|View full text |Cite
|
Sign up to set email alerts
|

Polymorphic Type Inference for Dynamic Languages

Giuseppe Castagna,
Mickaël Laurent,
Kim Nguyễn

Abstract: We present a type system that combines, in a controlled way, first-order polymorphism with intersection types, union types, and subtyping, and prove its safety. We then define a type reconstruction algorithm that is sound and terminating. This yields a system in which unannotated functions are given polymorphic types (thanks to Hindley-Milner) that can express the overloaded behavior of the functions they type (thanks to the intersection introduction rule) and that are deduced by applying advance… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...

Citation Types

0
0
0

Year Published

2024
2024
2024
2024

Publication Types

Select...
1
1

Relationship

0
2

Authors

Journals

citations
Cited by 2 publications
references
References 40 publications
0
0
0
Order By: Relevance