Partial type inference for untyped functional programs
Carsten K. Gomard · 1990
This extended abstract describes a way of inferring as much type information as possible about programs written in an untyped programming language. We present an algorithm that underlines the untypable parts of a program and assigns types to the rest. The algorithm is derived in a very simple manner from the well-known algorithm W of Damas & Milner [Damas and Milner 1982].
Cited by 59 works. doi:10.1145/91556.91672 Open-access PDF
Authors
References
- A Machine-Oriented Logic Based on the Resolution Principle
- Principal type-schemes for functional programs
- Linear Types can Change the World
- Mix: A self-applicable partial evaluator for experiments in compiler generation
- Automatic autoprojection of higher order recursive equations
- University of Copenhagen
- Finding the source of type errors
- Strictness analysis
- Automatic binding time analysis for a typed λ-calculus
- Polymorphic subtype inference: Closing the theory-practice gap