Work

Extension of ML type system with a sorted equation theory on types

Year: 1992
Type: report
Abstract: We extend the ML language by alowing a sorted regular equational theory on types for which unification is decidable and unitary. We prove that the extension keeps principal typings and subject reduction. A new set of typing rules is proposed so that type generalization is simpler and more efficient. We consider typing problems as general unification problems, which we solve with a formalism of unificands. Unificands naturally deal with sharing between types and lead to a more efficient type inference algorithm by splitting it into more elementary steps.
Source: HAL
Author: Didier Rémy
Language: English
Subfield: Software
Open Access status: green
OpenAlex ID: W90907487
Cites:
Cited by: 17
Related to: 10