Projective ML
Didier Rémy · 1992
We propose a projective lambda calculus as the basis for operations on records. Projections operate on elevations, that is, records with defaults. This calculus extends lambda calculus while keeping its essential properties. We build projective ML from this calculus by adding the ML Let typing rule to the simply typed projective calculus. We show that projective ML possesses the subject reduction property, which means that well-typed programs can be reduced safely. Elevations are practical data structures that can be compiled efficiently. Moreover, standard records are difinable in terms of projections.
Cited by 20 works. doi:10.1145/141471.141507
Authors
References
- A semantics of multiple inheritance
- An Efficient Unification Algorithm
- An extended polymorphic type system for applicative languages
- Complete Type Inference for Simple Objects
- Operations on records
- Type inference for record concatenation and multiple inheritance
- ML with extended pattern matching and subtypes
- Solving Equations in Abstract Algebras: A Rule-Based Survey of Unification.
- The ZINC experiment : an economical implementation of the ML language
- Type inference for records in natural extension of ML