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
- A theory of type polymorphism in programming
- Principal type-schemes for functional programs
- Lambda-calculus models of programming languages.
- Towards a theory of type structure
- HOPE
- Une Extension De ĽInterpretation De Gödel a ĽAnalyse, Et Son Application a ĽElimination Des Coupures Dans ĽAnalyse Et La Theorie Des Types
- Abstract types have existential type
- Type checking records and variants in a natural extension of ML
- Polymorphic type schemes and recursive definitions
- The typechecking of programs with implicit type structure