Putting type annotations to work

Martin Odersky, Konstantin Läufer · ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages (POPL) · 1996

We study an extension of the Hindley/Milner system with explicit type scheme annotations and type declarations. The system can express polymorphic function arguments, user-defined data types with abstract components, and structure types with polymorphic fields. More generally, all programs of the polymorphic lambda calculus can be encoded by a translation between typing derivations. We show that type reconstruction in this system can be reduced to the decidable problem of first-order unification under a mixed prefix.

Cited by 165 works. doi:10.1145/237721.237729 Open-access PDF

Authors

References